mirror of
https://tildegit.org/ben/dotfiles.git
synced 2025-03-13 18:00:42 +00:00
add vim -> nvim wrapper function
This commit is contained in:
parent
e1c64477bd
commit
cc9935fcac
7
fish/.config/fish/functions/vim.fish
Normal file
7
fish/.config/fish/functions/vim.fish
Normal file
@ -0,0 +1,7 @@
|
||||
function vim
|
||||
if test -x (which nvim)
|
||||
nvim $argv
|
||||
else
|
||||
vim $argv
|
||||
end
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user