1
0
Fork 0

vim alias is back

This commit is contained in:
Von Random 2018-07-24 20:04:32 +03:00
parent 8f1bc0ff9b
commit 75b7a97314

5
zshrc
View file

@ -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=(\