i think i misunderstand the meaning of it..... i don't have a tag file
named tags, my tag file's name is tag.current......

btw, how can vim highlight source file with syntax?
e.g.

typedef int DWORD;
typedef struct tagPOINT
{
    DWORD x, y;
}POINT;

how can Vim highlight DWORD and POINT automatically? and when i change
these lines, Vim changed highlight immediately? (just like visual
assist on Visual Studio, has anybody use it?)

On 11月11日, 下午10时40分, StarWing <[EMAIL PROTECTED]> wrote:
> 15. Highlighting tags                                   *tag-highlight*
>
> If you want to highlight all the tags in your file, you can use the
> following
> mappings.
>
>         <F11>     -- Generate tags.vim file, and highlight tags.
>         <F12>     -- Just highlight tags based on existing tags.vim file.
>
>   :map <F11>  :sp tags<CR>:%s/^\([^ :]*:\)\=\([^    ]*\).*/syntax keyword
> Tag \2/<CR>:wq! tags.vim<CR>/^<CR><F12>
>   :map <F12>  :so tags.vim<CR>
>
> just tried, but no effect. just create a file named tags.vim
> contains"syntax keyword Tag", not else.
> how can i execute a command, and make the output of command in a spilt
> window?
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to