Proper macvim setup.

This commit is contained in:
2014-08-25 20:06:54 -07:00
parent b165c4c4ac
commit 13ab7d3f17
4 changed files with 41 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
alias emacs="emacsclient -t"
alias xemacs="\emacs --daemon > /dev/null 2&> /dev/null; emacsclient -c &"
alias tmux="tmux -2"
reload_tmux_conf="tmux source-file .tmux.conf"
alias reload_tmux_conf="tmux source-file .tmux.conf"
alias tmux_cb_to_remote_cb='tmux saveb - | linux_nc_paste_to_remote_clipboard'
alias timestamp='date +%s'
alias fn='find . -name '
@@ -47,3 +47,5 @@ done
alias stfu="osascript -e 'set volume output muted true'"
alias pumpitup="osascript -e 'set volume 7'"
alias pip-upgrade="pip freeze --local | get_cols -F "=" 1 | xargs -n1 sudo pip install -U"
[[ -e /usr/local/Cellar/macvim ]] && alias vim="$(find /usr/local/Cellar/macvim -depth 1 | grep "[0-9]$")/MacVim.app/Contents/MacOS/Vim"

View File

@@ -25,9 +25,9 @@ function do_the_brew() {
"python --with-brewed-openssl" \
"htop" \
"greadlink" \
"vim --override-system-vi" \
"zsh" \
"make" \
"macvim --override-system-vim --custom-system-icons --with-features=huge --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-cscope" \
)
# `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
# core utilities (those that come with OS X are outdated)
@@ -75,12 +75,10 @@ function do_the_brew() {
"rsync" \
"svn" \
"unzip" \
"macvim --override-system-vim --custom-system-icons" \
)
install_items=()
OPTIND=1
echo "${MISC[@]}"
while getopts "uebsmah" OPTCHAR;
do
case $OPTCHAR in