Vim Tips Wiki
m (Use temporary tags file when browsing new source. moved to Use temporary tags file when browsing new source: Page moved by JohnBot to improve title)
(Change to TipImported template + severe manual clean)
Line 1: Line 1:
 
{{review}}
 
{{review}}
  +
{{TipImported
{{Tip
 
 
|id=568
 
|id=568
  +
|previous=567
|title=Use temporary tags file when browsing new source.
 
  +
|next=569
|created=September 30, 2003 19:50
+
|created=September 30, 2003
 
|complexity=basic
 
|complexity=basic
|author=mosh--AT--cs.albany.edu
+
|author=mosh
 
|version=6.0
 
|version=6.0
 
|rating=8/4
 
|rating=8/4
 
}}
|text=
 
" Create and Use $TMP/tags for local source dir (which may be unwriteable)
+
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).
   
  +
<pre>
" Unix users can change c:/tmp to ~/tmp/ (I use $TMP with sh).
 
 
:map &lt;c-k&gt;t :!(cd %:p:h;ctags -o c:/tmp/tags -R .)&amp;&lt;CR&gt;:set tags^=c:/tmp/tags&lt;CR&gt;
  +
</pre>
   
 
==Comments==
   
  +
----
 
:map &lt;c-k&gt;t :!(cd %:p:h;ctags -o c:/tmp/tags -R .)&amp;&lt;CR&gt;:set tags^=c:/tmp/tags&lt;CR&gt;
 
 
 
 
 
}}
 
 
== Comments ==
 
<!-- parsed by vimtips.py in 0.448572 seconds-->
 

Revision as of 07:28, 4 November 2007

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