Litenet-Nix-Infra/modules/packages/vim.nix
2024-07-19 03:31:44 +00:00

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
" ...
'';
};
}
)];
}