feat(editor): set neovim as default editor
This commit is contained in:
parent
2dd911381c
commit
59a999046b
13
home/neovim/home.nix
Normal file
13
home/neovim/home.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs
|
||||||
|
, ... }: {
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
extraPackages = with pkgs; [ ];
|
||||||
|
plugins = with pkgs.vimPlugins; [ vim-nix ];
|
||||||
|
|
||||||
|
viAlias = true;
|
||||||
|
vimAlias = true;
|
||||||
|
vimdiffAlias = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue