aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Beltran <ben@freshout.us>2014-02-07 07:46:13 -0600
committerBen Beltran <ben@freshout.us>2014-02-07 07:46:13 -0600
commitac89930a9876f526b08748a0a21a1c29ce26533e (patch)
tree36cb405c01cc5adb9e2f59c82c74f6447ff57436
parent93da0d62fe481a91bd289cefca008c81d74f3b6c (diff)
Updates w/new configs
-rw-r--r--agignore1
-rw-r--r--vim/.netrwhist10
-rwxr-xr-xvimrc14
-rw-r--r--zshrc13
4 files changed, 30 insertions, 8 deletions
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 <C-n> :call NumberToggle()<cr>
+
+" Find file and Find stuff to quickfix.
+command -nargs=1 Qff :cexpr system('find . \| ag <f-args>') | copen
+
+function! ToggleCWindow()
+ if exists("g:qwindow")
+ cclose
+ unlet g:qwindow
+ else
+ copen
+ let g:qwindow = 1
+ endif
+endfunction
+nnoremap <C-h> :call ToggleCWindow()<cr>
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"
+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 "
-#Screeninator and RVM scripts
+#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...