Customize vim in nix
This commit is contained in:
parent
e50633fcf6
commit
e946ee7fa3
2 changed files with 17 additions and 3 deletions
|
@ -12,6 +12,7 @@ Plug 'cespare/vim-toml'
|
|||
Plug 'Chiel92/vim-autoformat'
|
||||
Plug 'drmingdrmer/vim-toggle-quickfix'
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
||||
Plug 'godlygeek/tabular'
|
||||
Plug 'https://github.com/cyplo/vim-colors-solarized.git'
|
||||
Plug 'jremmen/vim-ripgrep'
|
||||
|
@ -19,6 +20,7 @@ Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
|||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'kien/ctrlp.vim'
|
||||
Plug 'leafgarland/typescript-vim'
|
||||
Plug 'LnL7/vim-nix'
|
||||
Plug 'mhinz/vim-startify'
|
||||
Plug 'mileszs/ack.vim'
|
||||
Plug 'plasticboy/vim-markdown'
|
||||
|
@ -42,6 +44,5 @@ Plug 'vim-airline/vim-airline'
|
|||
Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'will133/vim-dirdiff'
|
||||
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
Plug 'LnL7/vim-nix'
|
||||
|
||||
call plug#end()
|
||||
|
|
|
@ -4,6 +4,19 @@ let
|
|||
unstableTarball =
|
||||
fetchTarball
|
||||
https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
|
||||
myVim = pkgs.vim_configurable.override {
|
||||
features = "huge"; # one of tiny, small, normal, big or huge
|
||||
cfg = {
|
||||
luaSupport = true;
|
||||
pythonSupport = true;
|
||||
python3Support = true;
|
||||
multibyteSupport = true;
|
||||
};
|
||||
flags = {
|
||||
xim.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
imports =
|
||||
|
@ -20,7 +33,7 @@ in
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget vim git zsh gnupg curl tmux microcodeIntel
|
||||
wget myVim git zsh gnupg curl tmux microcodeIntel
|
||||
];
|
||||
|
||||
networking.hostName = "skinnyv";
|
||||
|
@ -29,7 +42,7 @@ in
|
|||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
packages = with pkgs; [
|
||||
firefox chromium terminator zsh keepass fontconfig go nodejs unstable.rustup gcc gdb binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy gnome3.gnome-shell-extensions chrome-gnome-shell gnomeExtensions.clipboard-indicator gnomeExtensions.caffeine gnomeExtensions.no-title-bar unstable.gnomeExtensions.gsconnect unstable.appimage-run openjdk10
|
||||
firefox chromium terminator zsh keepass fontconfig go nodejs unstable.rustup gcc gdb binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy gnome3.gnome-shell-extensions chrome-gnome-shell gnomeExtensions.clipboard-indicator gnomeExtensions.caffeine gnomeExtensions.no-title-bar unstable.gnomeExtensions.gsconnect unstable.appimage-run openjdk10 pdftk pdfshuffler gimp
|
||||
];
|
||||
uid = 1000;
|
||||
shell = pkgs.zsh;
|
||||
|
|
Loading…
Reference in a new issue