updated aliases

pull/1/head
Adam Veldhousen 2014-11-19 15:16:22 -06:00
parent 80c90d7648
commit 5f3b91d0d3
1 changed files with 10 additions and 0 deletions

View File

@ -55,6 +55,16 @@ function clone()
fi
}
# runs vim in the terminal without forking, great for tmux on my mac
function termvim(){
if [[ $# -eq 0 ]]; then
vim
else
vim --remote-tab-silent "$@"
fi
}
# runs vim outside of the term by forking the command and gvim, great for my windows box
function vim(){
if [[ $# -eq 0 ]]; then
gvim &