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
bashrc
4
bashrc
|
@ -59,6 +59,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() { "$(command -v termcompat||return 0)" ssh "$@"; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue