408eea0aa65c

vim: add tag-regen mapping
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 22 Feb 2011 12:55:21 -0500
parents cfd04ac5dc85
children 61eac7b103d6
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Tue Feb 22 12:49:42 2011 -0500
+++ b/vim/.vimrc	Tue Feb 22 12:55:21 2011 -0500
@@ -485,6 +485,11 @@
 endfunction " }}}
 
 " }}}
+" Ctags ----------------------------------------------------------------------- {{{
+
+map <leader>T :!/usr/local/bin/ctags --exclude='**/ckeditor' -R . $(test -f .venv && echo ~/lib/virtualenvs/`cat .venv`)<CR>
+
+" }}}
 " MacVim ---------------------------------------------------------------------- {{{
 
 if has('gui_running')