mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 15:25:37 +00:00
revert to nvim as alias for vim
This commit is contained in:
parent
bea0924972
commit
36c4881384
@ -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'";
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user