vim alias is back
This commit is contained in:
parent
8f1bc0ff9b
commit
75b7a97314
1 changed files with 5 additions and 0 deletions
5
zshrc
5
zshrc
|
@ -170,6 +170,11 @@ alias rscreen='command screen -Dr'
|
|||
alias scr='command screen sudo -Es'
|
||||
# }}}
|
||||
# {{{ plugins
|
||||
# vi alias
|
||||
vim() {
|
||||
vimcmd=$(whence nvim) || vimcmd=$(whence vim) || vimcmd=$(whence vi)
|
||||
$vimcmd "$@"
|
||||
}
|
||||
# grc
|
||||
if [[ -x "$(whence grc)" ]]; then
|
||||
cmds=(\
|
||||
|
|
Loading…
Reference in a new issue