32 lines
546 B
Nix
32 lines
546 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.neovim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
configure = {
|
|
packages.myVimPackage = with pkgs.vimPlugins; {
|
|
start = [
|
|
direnv-vim
|
|
vim-nix
|
|
vim-polyglot
|
|
];
|
|
|
|
opt = [
|
|
vim-monokai
|
|
];
|
|
};
|
|
|
|
customRC = ''
|
|
set number relativenumber
|
|
set undofile
|
|
set undodir=~/.cache/vim/undodir
|
|
|
|
packadd! vim-monokai
|
|
colorscheme monokai
|
|
'';
|
|
};
|
|
};
|
|
}
|