Permalink
Browse files

Refresh vim submodules, add tagbar

  • Loading branch information...
pengwynn committed Jan 13, 2013
1 parent 03caad3 commit 6aa2e52c4be274d1df3b7477d55392d04007d239
View
@@ -132,3 +132,6 @@
[submodule "vim/vim.symlink/bundle/vim-tomdoc"]
path = vim/vim.symlink/bundle/vim-tomdoc
url = https://github.com/jc00ke/vim-tomdoc.git
+[submodule "vim/vim.symlink/bundle/tagbar"]
+ path = vim/vim.symlink/bundle/tagbar
+ url = https://github.com/majutsushi/tagbar.git
View
@@ -0,0 +1,8 @@
+--languages=-javascript,sql
+--exclude=.git
+--langdef=css
+--langmap=css:.css
+--regex-css=/^[ \t]*([^\t {][^{]{1,100})(\t| )*{/\1/d,definition/
+--langdef=scss
+--langmap=scss:.scss
+--regex-scss=/^[ \t]*([^\t {][^{]{1,100})(\t| )*{/| \1/d,definition/
@@ -1,3 +1,3 @@
#!/bin/sh
rm -f .git/tags
-ctags --tag-relative -Rf.git/tags --exclude=.git --languages=-javascript,sql
+ctags --tag-relative -Rf.git/tags
View
@@ -24,6 +24,7 @@
# remove all local branches included in the current branch
cleanup = !sh -c 'git branch --merged | grep -E "^[^*]" --exclude "^\\s*master" | xargs -n1 git branch -d'
co = checkout
+ ctags = !.git/hooks/ctags
# Show the diff between the latest commit and the current state
d = !"git diff-index --quiet HEAD -- || clear; git diff --patch-with-stat"
# `git di $number` shows the diff between the state `$number` revisions ago and the current state
@@ -80,4 +81,4 @@
# vim: ft=gitconfig
[credential]
- helper = osxkeychain
+ helper = osxkeychain
Submodule gitv updated 1 files
+18 −3 plugin/gitv.vim
Submodule vimux updated 1 files
+1 −1 plugin/vimux.vim
@@ -1,3 +1,4 @@
+
" Navigation
" ==========
" Move between wrapped lines as though they were physical lines.
@@ -27,6 +28,11 @@ set showmode
" Toggle case
nmap <F9> :set ignorecase! ignorecase?<CR>
+" Tagbar
+let g:tagbar_ctags_bin = '/opt/github/homebrew/bin/ctags'
+" Toggle tagbar
+nmap <Leader>t :TagbarToggle<CR>
+
" Yank from cursor to end of line
nnoremap Y y$
View
@@ -36,6 +36,7 @@ syntax enable
set t_Co=256
colorscheme solarized
set background=dark
+" let g:solarized_termcolors=256
" General Config
" ==============

0 comments on commit 6aa2e52

Please sign in to comment.