diff --git a/common/dotfiles/vim.nix b/common/dotfiles/neovim.nix similarity index 84% rename from common/dotfiles/vim.nix rename to common/dotfiles/neovim.nix index 7c00633f..bf0c1d59 100644 --- a/common/dotfiles/vim.nix +++ b/common/dotfiles/neovim.nix @@ -1,7 +1,12 @@ { config, pkgs, ... }: { # https://nixos.wiki/wiki/Vim - programs.vim = { + programs.vneoim = { enable = true; + defaultEditor = true; + viAlias = true; + vimAlias = true; + vimdiffAlias = true; + plugins = with pkgs.vimPlugins; [ vim-airline YouCompleteMe diff --git a/users/albert/home.nix b/users/albert/home.nix index f3eb97c8..6d1973fd 100644 --- a/users/albert/home.nix +++ b/users/albert/home.nix @@ -3,7 +3,7 @@ imports = [ ./dconf.nix ../../common/dotfiles/git.nix - ../../common/dotfiles/vim.nix + ../../common/dotfiles/neovim.nix ../../common/dotfiles/bash.nix ]; } \ No newline at end of file diff --git a/users/root/home.nix b/users/root/home.nix index 3458f4e2..c6d1f604 100644 --- a/users/root/home.nix +++ b/users/root/home.nix @@ -2,7 +2,7 @@ home.stateVersion = "23.05"; imports = [ ../../common/dotfiles/git.nix - ../../common/dotfiles/vim.nix + ../../common/dotfiles/neovim.nix ../../common/dotfiles/bash.nix ]; } \ No newline at end of file