From: Ben Beltran Date: Fri, 7 Feb 2014 13:46:13 +0000 (-0600) Subject: Updates w/new configs X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/ac89930a9876f526b08748a0a21a1c29ce26533e?ds=inline;hp=93da0d62fe481a91bd289cefca008c81d74f3b6c Updates w/new configs --- diff --git a/agignore b/agignore index ccee019..9e78616 100644 --- a/agignore +++ b/agignore @@ -2,3 +2,4 @@ tmp public/system asset_packages node_modules +*.min.js diff --git a/vim/.netrwhist b/vim/.netrwhist index 115134c..8975a54 100644 --- a/vim/.netrwhist +++ b/vim/.netrwhist @@ -1,8 +1,4 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhist_cnt =6 -let g:netrw_dirhist_1='/Users/benbeltran/.newsbeuter' -let g:netrw_dirhist_2='/Users/benbeltran/.vim' -let g:netrw_dirhist_3='/Users/benbeltran/.dotfiles/tmux-powerline' -let g:netrw_dirhist_4='/Users/benbeltran/.config' -let g:netrw_dirhist_5='/Users/benbeltran/Projects/nitrogen/GantNitrogenIntegrationDependencies.oplx' -let g:netrw_dirhist_6='/private/etc/postfix' +let g:netrw_dirhist_cnt =2 +let g:netrw_dirhist_1='/usr/local/lib/python2.7/site-packages' +let g:netrw_dirhist_2='/Users/benbeltran/Projects/rack-machine' diff --git a/vimrc b/vimrc index a9c30a0..bc9d40b 100755 --- a/vimrc +++ b/vimrc @@ -183,3 +183,17 @@ function! NumberToggle() endfunction nnoremap :call NumberToggle() + +" Find file and Find stuff to quickfix. +command -nargs=1 Qff :cexpr system('find . \| ag ') | copen + +function! ToggleCWindow() + if exists("g:qwindow") + cclose + unlet g:qwindow + else + copen + let g:qwindow = 1 + endif +endfunction +nnoremap :call ToggleCWindow() diff --git a/zshrc b/zshrc index e05c284..45b29fd 100644 --- a/zshrc +++ b/zshrc @@ -53,8 +53,14 @@ alias dwarffortress="/Applications/Dwarf\ Fortress/df" alias ls="ls -FG" alias rspec="rspec --color" alias nitro="nitrogen.js" - -#Screeninator and RVM scripts +alias agjs="ag -G \".*\\.js\"" +alias agrb="ag -G \".*\\.js\"" +alias agcss="ag -G \".*\\.css\"" +alias start-occipital="node occipital_server -c /etc/occipital/configuration.json -r -r /Users/benbeltran/Projects/nitrogen/repository_server" +alias spawn-server="python -m SimpleHTTPServer" +alias ta="tmux attach -t " + +#Tmuxinator and RVM scripts [[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm [[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator @@ -70,4 +76,9 @@ ggb() { # There's probably a more "zsh-ish" way of doing these, but I have no time. # +# The python stuff. +export WORKON_HOME=$HOME/.virtualenvs +export PROJECT_HOME=$HOME/Projects +source /usr/local/bin/virtualenvwrapper.sh + # Customize to your needs...