Wikia

Vim Tips Wiki

Use temporary tags file when browsing new source

Talk0
1,612pages on
this wiki
Revision as of 08:57, September 29, 2008 by JohnBot (Talk | contribs)

Tip 568 Printable Monobook Previous Next

created September 30, 2003 · complexity basic · author mosh · version 6.0


Create and use $TMP/tags for local source dir (which may be unwriteable). Unix users can change c:/tmp to ~/tmp/ (I use $TMP with sh).

:map <c-k>t :!(cd %:p:h;ctags -o c:/tmp/tags -R .)&<CR>:set tags^=c:/tmp/tags<CR>

Comments

Around Wikia's network

Random Wiki