Automatically call nvim with vim command if installed
This commit is contained in:
parent
f4b0d38148
commit
25d4f1df54
2 changed files with 7 additions and 1 deletions
4
.config/zsh/6-nvim-to-vim-if-installed
Normal file
4
.config/zsh/6-nvim-to-vim-if-installed
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Check for existence of nvim command. If found, substitute vim with it.
|
||||
type nvim >/dev/null 2>&1 && alias vim=nvim
|
||||
Loading…
Add table
Add a link
Reference in a new issue