vi : use vi for default vim, keep v for nvim.

This commit is contained in:
Dmitry Voronin 2023-11-04 23:16:45 +03:00
parent 052d618f61
commit e4436a804f
2 changed files with 6 additions and 5 deletions

View file

@ -650,7 +650,8 @@ Command|Description
Command|Description Command|Description
---|--- ---|---
`vi`, `v`|Aliases for `nvim`. `vi`|Run vim.
`v`|Run neovim.
## Wallpaper. ## Wallpaper.

View file

@ -1,5 +1,5 @@
# vim configuration. # default vim.
#export vim_args='-c "filetype plugin indent on" -c "set autoindent" -c "set tabstop=2" -c "set shiftwidth=2" -c "set expandtab" -c "set number"' alias vi='vi -c "filetype plugin indent on" -c "set autoindent" -c "set tabstop=2" -c "set shiftwidth=2" -c "set expandtab" -c "set number"'
#alias vi="vi $vim_args"
alias vi="nvim" # neovim.
alias v="nvim" alias v="nvim"