Last active
January 3, 2017 00:38
-
-
Save tokudan/c92c0acc2766ceb06659363b815efba4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
environment.systemPackages = with pkgs; [ | |
(import vim.nix) | |
[other packages] | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
vim_configurable.customize { | |
# Specifies the vim binary name. | |
# E.g. set this to "my-vim" and you need to type "my-vim" to open this vim | |
# This allows to have multiple vim packages installed (e.g. with a different set of plugins) | |
name = "vim"; | |
vimrcConfig.customRC = '' | |
set nu ai tabstop=4 | |
''; | |
vimrcConfig.vam.knownPlugins = pkgs.vimPlugins; | |
vimrcConfig.vam.pluginDictionaries = [ | |
{ names = [ | |
# Here you can place all your vim plugins | |
# They are installed managed by `vam` (a vim plugin manager) | |
"Syntastic" | |
"rust-vim" | |
"vim-racer" | |
"vim-addon-nix" | |
]; } | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment