On Sunday, October 14, 2012 12:30:50 PM UTC-5, tjg wrote:
> Suppose I have a agenda file, in which I note things to do, e.g. :
> 
> 2012.10.13 write to Inc
> 
> 2012.10.14 write to Gmbh
> 
> etc...
> 
> 
> 
> I want to complement this file with incremented information about these
> 
> companies (quotes, articles, etc…).
> 
> 
> 
> So, I create a tag file : .vim/doc/vimlog.txt, in which I have both *Inc*
> 
> and *Gmbh*.
> 
> (NB :I have verified that I have, too, .vim/doc/tags)
> 
> 
> 
> Two tags are easy to remember, but a hundred ?
> 
> 
> 
> It would be handy to see immediately through highlighting (in magenta, to
> 
> take an example) - while writing the name of one of those companies - if I
> 
> already have information about it in my custom tag file, which would be then
> 
> a Ctrl-] away.
> 
> 
> 
> Is this achievable ?
> 
> 
> 
> 
> 

Maybe you can get it working with one of these:

http://www.vim.org/scripts/script.php?script_id=3114
http://www.vim.org/scripts/script.php?script_id=2646

They both use ctags though so I'm not certain it's workable.

You could also parse the vimlog.txt file in vimscript and make a :syn keyword 
or :syn match rule for each word found.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to