Started a neovim config
This commit is contained in:
parent
1fed946419
commit
3790e322e1
5 changed files with 62 additions and 17 deletions
23
home-manager/nvim/neovim.nix
Normal file
23
home-manager/nvim/neovim.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
vimAlias = true;
|
||||
|
||||
extraConfig = ''
|
||||
programs.neovim.extraConfig = lib.fileContents ./init.vim;
|
||||
set number relativenumber
|
||||
|
||||
'';
|
||||
|
||||
plugins = [
|
||||
{ plugin = pkgs.vimPlugins.vim-numbertoggle; }
|
||||
{ plugin = pkgs.vimPlugins.vim-sleuth; }
|
||||
{ plugin = pkgs.vimPlugins.lualine-nvim; }
|
||||
{ plugin = pkgs.vimPlugins.neoscroll-nvim; }
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue