-
-
Save pinpox/8bb11b38c2ed8b72f3e1afac1d8f57b0 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
programs.neovim = { | |
enable = true; | |
viAlias = true; | |
vimAlias = true; | |
vimdiffAlias = true; | |
withNodeJs = true; | |
withPython = true; | |
withPython3 = true; | |
withRuby = true; | |
configure = { | |
customRC = | |
lib.strings.concatStrings [ | |
# PLUGINS: | |
(lib.strings.fileContents ./vim/plugins.vim) | |
# GENERAL OPTIONS: | |
(lib.strings.fileContents ./vim/general.vim) | |
# FILE BROWSING: | |
(lib.strings.fileContents ./vim/netrw.vim) | |
# KEY MAPPINGS: | |
(lib.strings.fileContents ./vim/mappings.vim) | |
# APPEARANCE: | |
(lib.strings.fileContents ./vim/style.vim) | |
# LANGUAGESERVER: | |
(lib.strings.fileContents ./vim/lsp.vim) | |
# COC: | |
(lib.strings.fileContents ./vim/coc_settings.vim) | |
]; | |
packages.myVimPackage = with pkgs.vimPlugins; { | |
# loaded on launch | |
start = [ | |
# vim-indent-guides | |
# vimpreviewpandoc | |
BufOnly-vim | |
ansible-vim | |
base16-vim | |
coc-nvim | |
dracula-vim | |
fzf-vim | |
gotests-vim | |
haskell-vim | |
i3config-vim | |
indentLine | |
tabular | |
vim-airline | |
vim-airline-themes | |
vim-autoformat | |
vim-better-whitespace | |
vim-commentary | |
vim-devicons | |
vim-easy-align | |
vim-eunuch | |
vim-gitgutter | |
vim-go | |
vim-grammarous | |
vim-gutentags | |
vim-illuminate | |
vim-indent-object | |
vim-markdown | |
vim-nix | |
vim-repeat | |
vim-sandwich | |
vim-snippets | |
vim-table-mode | |
vim-terraform | |
vim-textobj-user | |
vim-vinegar | |
vim-visual-increment | |
vim-which-key | |
vista-vim | |
]; | |
# manually loadable by calling `:packadd $plugin-name` | |
opt = [ ]; | |
}; | |
}; | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment