bashrc, zshrc: vim aliases; vimplugrc: get rid of gvim, I do not use it anyway
This commit is contained in:
parent
6006e52950
commit
e788939620
3 changed files with 15 additions and 11 deletions
4
zshrc
4
zshrc
|
@ -178,6 +178,10 @@ atmux() { tmux attach }
|
|||
rscreen() { command screen -Dr }
|
||||
scr() { command screen sudo -Es }
|
||||
|
||||
# vim
|
||||
vi() { $(whence nvim || whence vim || return 1) $@ }
|
||||
vim() { vi $@ }
|
||||
|
||||
# termcompat
|
||||
s() { $(whence termcompat||return 0) ssh $@ }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue