# HG changeset patch # User Ludovic Chabant # Date 1387121879 28800 # Node ID 7fd22eb117895bc6b186a8e1f6da80e9d1dd0f4c # Parent 2785ea47eae0649e817af01d5d1a9950ecdb5b69 Added `tagbar` for Vim, with keyboard shortcut. Added more ignore directories. diff -r 2785ea47eae0 -r 7fd22eb11789 .hgsub --- a/.hgsub Fri Nov 22 20:14:40 2013 -0800 +++ b/.hgsub Sun Dec 15 07:37:59 2013 -0800 @@ -19,6 +19,8 @@ vim/bundle/fugitive = [git]https://github.com/tpope/vim-fugitive.git vim/bundle/syntastic = [git]https://github.com/scrooloose/syntastic.git vim/bundle/less = [git]https://github.com/groenewege/vim-less.git +vim/bundle/twig = [git]https://github.com/beyondwords/vim-twig.git +vim/bundle/tagbar = [git]https://github.com/majutsushi/tagbar.git vim/bundle/lawrencium = https://bitbucket.org/ludovicchabant/vim-lawrencium vim/bundle/piecrust = https://bitbucket.org/ludovicchabant/vim-piecrust diff -r 2785ea47eae0 -r 7fd22eb11789 .hgsubstate --- a/.hgsubstate Fri Nov 22 20:14:40 2013 -0800 +++ b/.hgsubstate Sun Dec 15 07:37:59 2013 -0800 @@ -21,4 +21,6 @@ 7a32e0866bfea26cf7781935289df131d1d0c0e0 vim/bundle/supertab 42e9b46e7a20a2f394664874c7bbd9d6f6c39e8a vim/bundle/surround 94f710dddedef870736d7c55b387788b9a0afeda vim/bundle/syntastic +6d8770f949b8bd5160e65a7fc8ebce588e3b4736 vim/bundle/tagbar +869c05195086dd1af9fe39e49621f9f880b6f07c vim/bundle/twig b9d1fa7d460dac878cbc8c945a45439d92ce0cb2 vim/bundle/vimroom diff -r 2785ea47eae0 -r 7fd22eb11789 vim/vimrc --- a/vim/vimrc Fri Nov 22 20:14:40 2013 -0800 +++ b/vim/vimrc Sun Dec 15 07:37:59 2013 -0800 @@ -221,7 +221,7 @@ " Ctrl-P should however ignore some stuff. let g:ctrlp_custom_ignore = { - \ 'dir': '\v[\/](\.git|\.hg|\.svn|venv|build)$' + \ 'dir': '\v[\/](\.git|\.hg|\.svn|venv|node_modules|build)$' \ } " Make Ctrl-P cache stuff in our temp directory. @@ -289,6 +289,9 @@ " Switch buffers. nnoremap :execute ("buffer " . bufname("#")) +" Tagbar. +nnoremap :TagbarToggle + " Common typos. nnoremap ; :