Permalink
Browse files

stuff

  • Loading branch information...
1 parent edd9c33 commit eaf807d6b101de81178cd52604608b7b7014f034 Tyler Ball committed Apr 10, 2012
Showing with 22 additions and 6 deletions.
  1. +3 −0 _ctags
  2. +6 −4 _tmux.conf
  3. +9 −1 _vim/plugin/plugins.vim
  4. +4 −1 _zsh/zsh_aliases
View
3 _ctags
@@ -6,3 +6,6 @@ ngdef=js
--regex-js=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\[/\1/,array/
--regex-js=/([^= ]+)[ \t]*=[ \t]*[^"]'[^']*/\1/,string/
--regex-js=/([^= ]+)[ \t]*=[ \t]*[^']"[^"]*/\1/,string/
+–python-kinds=-i
+--exclude=build
+--exclude=dist
View
@@ -24,14 +24,16 @@ bind-key -n M-left resize-pane -L 5
bind-key -n M-right resize-pane -R 5
bind-key -n M-down resize-pane -D 5
-bind-key -n M-j select-pane -D
-bind-key -n M-l select-pane -R
-bind-key -n M-k select-pane -U
-bind-key -n M-h select-pane -L
+bind-key -n M-j select-pane -D
+bind-key -n M-l select-pane -R
+bind-key -n M-k select-pane -U
+bind-key -n M-h select-pane -L
bind-key -n C-']' prev
bind-key -n C-'\' next
+bind-key k kill-window
+
# reload config
unbind r
bind r source-file ~/.tmux.conf
View
@@ -48,10 +48,18 @@ let g:syntastic_mode_map = { 'mode': 'active',
" Kill the powerline cache
nnoremap <leader>rp :! rm /tmp/Powerline.cache<cr>
-" taglisttoo
+" tagbar
nnoremap <leader>t :TagbarToggle<cr>
nnoremap <localleader>t :TagbarOpen<cr>:TagbarShowTag<cr>
+let os = substitute(system('uname'), "\n", "", "")
+if os == "Linux"
+ let g:tagbar_ctags_bin = '/usr/bin/ctags-exuberant'
+elseif os == "Darwin"
+ let ctags_loc = substitute(system('brew --prefix ctags'), "\n", "", "")
+ let g:tagbar_ctags_bin = ctags_loc . '/bin/ctags'
+endif
+
" Make Supertab work with snipmate
let g:SuperTabDefaultCompletionType = "<c-x><c-o>"
View
@@ -34,7 +34,10 @@
alias rnurl="rename 'y/A-Z/a-z/' * -f && rename 'y/ /_/' *"
# VM
- mntvm() { mkdir -p ~/vm/ && sudo mount -t nfs -o resvport,soft,intr,rsize=8192,wsize=8192,timeo=900,retrans=3,proto=tcp "$*":/home/tball ~/vm/ ; }
+ mntvm() {
+ mkdir -p ~/vm
+ sudo mount -t nfs -o tcp,resvport,soft,intr,rdirplus,rsize=8192,wsize=8192,timeo=900 "$*":/home/tball ~/vm/
+ }
alias startvm="VBoxManage startvm tb-devbox --type headless"
alias stopvm="VBoxManage controlvm tb-devbox poweroff"
alias vm="ssh devbox"

0 comments on commit eaf807d

Please sign in to comment.