Skip to content

Instantly share code, notes, and snippets.

@sergei-mironov
Created May 13, 2019 15:20
Show Gist options
  • Save sergei-mironov/53dc10acffa7b2f7a8deca6eee7fc5bf to your computer and use it in GitHub Desktop.
Save sergei-mironov/53dc10acffa7b2f7a8deca6eee7fc5bf to your computer and use it in GitHub Desktop.
buildvim.nix
# For the list of available plugins see
# nixpkgs/pkgs/misc/vim-plugins/generated.nix
#
# Example of working config
# nixcfg/src/pkgs/myvim.nix
#
{ pkgs ? import <nixpkgs> {} } :
with pkgs;
vim_configurable.customize {
name = "vim";
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; {
start = [
# syntastic
vim-hdevtools
# lastplace
# grepper
supertab
# ctrlp
# fzf-pure
# fzfWrapper
# fzf-vim
LanguageClient-neovim
youcompleteme
];
};
vimrcConfig.customRC = ''
// blbla
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment