Skip to content

Commit

Permalink
Refresh vim submodules, add tagbar
Browse files Browse the repository at this point in the history
  • Loading branch information
pengwynn committed Jan 13, 2013
1 parent 03caad3 commit 6aa2e52
Show file tree
Hide file tree
Showing 25 changed files with 40 additions and 21 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 8 additions & 0 deletions ctags/ctags.symlink
Original file line number Diff line number Diff line change
@@ -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/
2 changes: 1 addition & 1 deletion git/git_template.symlink/hooks/ctags
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion git/gitconfig.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -80,4 +81,4 @@

# vim: ft=gitconfig
[credential]
helper = osxkeychain
helper = osxkeychain
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/ctrlp
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/gist-vim
Submodule gist-vim updated from f94abc to ff2afc
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/gitv
Submodule gitv updated 1 files
+18 −3 plugin/gitv.vim
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/nerdcommenter
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/nerdtree
Submodule nerdtree updated from 1dc389 to c3b63d
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/supertab
Submodule supertab updated 2 files
+12 −5 doc/supertab.txt
+25 −11 plugin/supertab.vim
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/ultisnips-snippets
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/vim-colors-solarized
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/vim-commentary
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/vim-fugitive
Submodule vim-fugitive updated 2 files
+1 −1 doc/fugitive.txt
+16 −23 plugin/fugitive.vim
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/vim-haml
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/vim-pathogen
Submodule vim-pathogen updated 2 files
+13 −43 README.markdown
+89 −31 autoload/pathogen.vim
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/vim-rails
Submodule vim-rails updated 2 files
+141 −102 autoload/rails.vim
+26 −11 doc/rails.txt
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/vim-rake
Submodule vim-rake updated 1 files
+1 −1 plugin/rake.vim
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/vim-ruby
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/vim-surround
Submodule vim-surround updated 2 files
+3 −9 doc/surround.txt
+12 −2 plugin/surround.vim
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/vimux
Submodule vimux updated from d6d88a to 814269
2 changes: 1 addition & 1 deletion vim/vim.symlink/bundle/webapi-vim
Submodule webapi-vim updated 2 files
+8 −8 autoload/webapi/http.vim
+4 −2 webapi.vim.vimup
6 changes: 6 additions & 0 deletions vim/vim.symlink/common.vim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

" Navigation
" ==========
" Move between wrapped lines as though they were physical lines.
Expand Down Expand Up @@ -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$
Expand Down
1 change: 1 addition & 0 deletions vim/vimrc.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ syntax enable
set t_Co=256
colorscheme solarized
set background=dark
" let g:solarized_termcolors=256

" General Config
" ==============
Expand Down

0 comments on commit 6aa2e52

Please sign in to comment.