Permalink
Browse files

fix gvim alias on osx

  • Loading branch information...
jmoiron committed Aug 16, 2017
1 parent 3fb9163 commit ee85a32ac5b723d470e54c7425642300e4c36caf
Showing with 6 additions and 6 deletions.
  1. +3 −5 home/.bash_aliases
  2. +1 −1 home/.bashrc
  3. +2 −0 home/.bashrc.osx
View
@@ -28,18 +28,16 @@ alias dt='python manage.py test'
alias mpy='python manage.py'
# fix gvim issues in ubuntu 9.10
alias gvim='gvim 2>/dev/null'
if [ "$OS" != "OSX" ]; then
alias gvim='gvim 2>/dev/null'
fi
# 'serve' simple webserver
alias serve='python -m SimpleHTTPServer'
# chrome shortcut
alias chrome="google-chrome"
if [ "$OS" == "OSX" ]; then
alias gvim="mvim"
fi
alias t="t --task-dir ~/tasks --list tasks"
function go-link {
View
@@ -46,7 +46,7 @@ export PATH=$PATH:$HOME/.gem/ruby/1.8/bin
# add homebrew python path in OSX
if [ "$OS" = "OSX" ]; then
source ~/.bashrc.osx
source $HOME/.bashrc.osx
else
alias open="xdg-open"
fi
View
@@ -12,6 +12,8 @@ if [ -n `which gls` ]; then
alias ls="gls -F --color=auto"
fi
alias gvim="/Applications/MacVim.app/Contents/bin/mvim"
bind '"\e[5C": forward-word'
bind '"\e[5D": backward-word'
bind '"\e[1;5C": forward-word'

0 comments on commit ee85a32

Please sign in to comment.