Mercurial > dotfiles
changeset 157:7fd22eb11789
Added `tagbar` for Vim, with keyboard shortcut.
Added more ignore directories.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 15 Dec 2013 07:37:59 -0800 |
parents | 2785ea47eae0 |
children | fad6de4a0252 |
files | .hgsub .hgsubstate vim/vimrc |
diffstat | 3 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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
--- 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 <F3> :execute ("buffer " . bufname("#"))<cr> +" Tagbar. +nnoremap <F8> :TagbarToggle<cr> + " Common typos. nnoremap ; :