Permalink
Browse files

Merge branch 'ctags_for_bundler'

  • Loading branch information...
Kris Leech
Kris Leech committed Mar 1, 2012
2 parents 98b484d + bef6b82 commit 08e512f66cf3bfc0391c3d728208e9ca6369aaa0
Showing with 3 additions and 0 deletions.
  1. +1 −0 bundles.vim
  2. +2 −0 vimrc
View
@@ -46,6 +46,7 @@ Bundle "git://github.com/cakebaker/scss-syntax.vim.git"
Bundle "git://github.com/tpope/vim-haml.git"
Bundle "git://github.com/tpope/vim-markdown.git"
Bundle "git://github.com/greyblake/vim-preview.git"
+Bundle "git://github.com/tpope/vim-bundler.git"
filetype plugin indent on " and turn it back on!
View
2 vimrc
@@ -248,6 +248,8 @@ set tags+=gems.tags
map <leader>l :TlistToggle <cr>
let Tlist_Use_Right_Window = 1
let Tlist_WinWidth = 60
+" Generate ctags for all bundled gems as well
+map <leader>rt :!ctags --extra=+f --languages=-javascript --exclude=.git --exclude=log -R * `rvm gemdir`/gems/* `rvm gemdir`/bundler/gems/*<CR><C-M>
" Use only current file to autocomplete from tags
" set complete=.,t

0 comments on commit 08e512f

Please sign in to comment.