Skip to content

Instantly share code, notes, and snippets.

@lancebecker
Created December 3, 2011 21:19
Show Gist options
  • Save lancebecker/1428183 to your computer and use it in GitHub Desktop.
Save lancebecker/1428183 to your computer and use it in GitHub Desktop.
Adding Exuberant CTag support to VIM
Ctags will create a tags file, so make sure to add it to your global .gitignore file and never commit it
# INSTALLATION
### Install exuberant ctags with brew
brew install ctags
### Decommission system ctags
cd /usr/bin
sudo mv ctags ctags.system
### Install the taglist plugin with vundle
Bundle 'https://github.com/vim-scripts/taglist.vim.git'
### Add nice bindings
map <Leader>rt :!ctags --extra=+f -R *<CR><CR>
map <C-\> :tnext<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment