neovim: default editor

This commit is contained in:
Motiejus Jakštys 2023-08-18 21:45:38 +03:00
parent a9ab4b4514
commit 1522a5284e
2 changed files with 5 additions and 5 deletions

View File

@ -130,7 +130,7 @@
sysdig.enable = pkgs.stdenv.hostPlatform.system == "x86_64-linux";
vim.defaultEditor = true;
#vim.defaultEditor = true;
};
services = {

View File

@ -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;
};