neovim: default editor
This commit is contained in:
parent
a9ab4b4514
commit
1522a5284e
@ -130,7 +130,7 @@
|
||||
|
||||
sysdig.enable = pkgs.stdenv.hostPlatform.system == "x86_64-linux";
|
||||
|
||||
vim.defaultEditor = true;
|
||||
#vim.defaultEditor = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
|
@ -56,16 +56,16 @@
|
||||
|
||||
programs.direnv.enable = true;
|
||||
|
||||
programs.vim = {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
defaultEditor = true;
|
||||
plugins = lib.mkIf config.mj.base.users.devEnvironment [
|
||||
pkgs.vimPlugins.fugitive
|
||||
pkgs.vimPlugins.vim-go
|
||||
pkgs.vimPlugins.zig-vim
|
||||
];
|
||||
settings = {
|
||||
background = "light";
|
||||
};
|
||||
extraConfig = builtins.readFile ./vimrc;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user