revert to nvim as alias for vim

This commit is contained in:
Noah Masur 2022-05-30 13:09:50 -04:00
parent bea0924972
commit 36c4881384
2 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@
MANPAGER = "nvim +Man!"; MANPAGER = "nvim +Man!";
}; };
programs.fish = { programs.fish = {
shellAliases = { vim = "nvim"; };
shellAbbrs = { shellAbbrs = {
v = lib.mkForce "nvim"; v = lib.mkForce "nvim";
vl = lib.mkForce "nvim -c 'normal! `0'"; vl = lib.mkForce "nvim -c 'normal! `0'";

View File

@ -1,4 +1,4 @@
set vimfile (fzf) set vimfile (fzf)
and set vimfile (echo $vimfile | tr -d '\r') and set vimfile (echo $vimfile | tr -d '\r')
and commandline -r "nvim $vimfile" and commandline -r "vim $vimfile"
and commandline -f execute and commandline -f execute