23 lines
488 B
Nix
Executable file
23 lines
488 B
Nix
Executable file
{ pkgs, ... }:
|
|
{
|
|
environment.variables = { EDITOR = "vim"; };
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
(neovim.override {
|
|
vimAlias = true;
|
|
configure = {
|
|
packages.myPlugins = with pkgs.vimPlugins; {
|
|
start = [ vim-lastplace vim-nix vim-airline ];
|
|
opt = [];
|
|
};
|
|
customRC = ''
|
|
" your custom vimrc
|
|
set nocompatible
|
|
set backspace=indent,eol,start
|
|
" ...
|
|
'';
|
|
};
|
|
}
|
|
)];
|
|
}
|