vi : use vi for default vim, keep v for nvim.
This commit is contained in:
parent
052d618f61
commit
e4436a804f
|
@ -650,7 +650,8 @@ Command|Description
|
|||
|
||||
Command|Description
|
||||
---|---
|
||||
`vi`, `v`|Aliases for `nvim`.
|
||||
`vi`|Run vim.
|
||||
`v`|Run neovim.
|
||||
|
||||
## Wallpaper.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# vim configuration.
|
||||
#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 $vim_args"
|
||||
alias vi="nvim"
|
||||
# default vim.
|
||||
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"'
|
||||
|
||||
# neovim.
|
||||
alias v="nvim"
|
||||
|
|
Reference in a new issue