From ff7fb253b24d63cd49a679630833a3d90b635af2 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 14 Nov 2020 11:09:31 -0500 Subject: Switch to neovim --- lib/common.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'lib/common.nix') diff --git a/lib/common.nix b/lib/common.nix index 429d6b7..f7a7d35 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -135,11 +135,12 @@ in enable = true; }; - vim = { + neovim = { enable = true; - plugins = with pkgs.vimPlugins; [ - editorconfig-vim - ]; + vimAlias = true; + viAlias = true; + vimdiffAlias = true; + plugins = [ pkgs.vimPlugins.editorconfig-vim ]; extraConfig = builtins.readFile ./vimrc; }; @@ -198,9 +199,7 @@ in tdate = "date +%Y.%m.%d..%H.%M"; ttime = "date +%H.%M"; typeless = "history | tail -n 20000 | sed 's/.* //' | sort | uniq -c | sort -g | tail -n 100"; - v = "vim"; "v." = "vim ."; - vimdiff = "vim -d"; vk = "vim $(sk -m)"; vs = "vim $(sk -m)"; }; -- cgit v1.2.3