]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Updates w/new configs
authorBen Beltran <redacted>
Fri, 7 Feb 2014 13:46:13 +0000 (07:46 -0600)
committerBen Beltran <redacted>
Fri, 7 Feb 2014 13:46:13 +0000 (07:46 -0600)
agignore
vim/.netrwhist
vimrc
zshrc

index ccee01927cc0e1a57956ad1cbb5f3dbc2e9bd43a..9e78616636f8b340d54678f82116cf1944783f62 100644 (file)
--- a/agignore
+++ b/agignore
@@ -2,3 +2,4 @@ tmp
 public/system
 asset_packages
 node_modules
 public/system
 asset_packages
 node_modules
+*.min.js
index 115134cd208f114addfe9af1442d8fa9e2853308..8975a54b6100fc07e5040d8e857a39077dee74e7 100644 (file)
@@ -1,8 +1,4 @@
 let g:netrw_dirhistmax  =10
 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 a9c30a0315cc6355a3c59f771f71faa82a6e0611..bc9d40ba4edd220f932b262660a13a8b3a08a3b9 100755 (executable)
--- a/vimrc
+++ b/vimrc
@@ -183,3 +183,17 @@ function! NumberToggle()
 endfunction
 
 nnoremap <C-n> :call NumberToggle()<cr>
 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 e05c2847c6b2fe2acb88aae00d911720fc815740..45b29fde046582f4c19807afb4a749811f69063e 100644 (file)
--- 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 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
 
 [[ -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.
 #
 
 # 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...
 # Customize to your needs...