-
Notifications
You must be signed in to change notification settings - Fork 0
Tag list browser for VIM (List, filter, preview, jump to tags)
License
tomtom/ttags_vim
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
:TTags [KIND] [TAGS_RX] [FILE_RX] In order to match any kind/rx, use *. E.g. TTags * * _foo.vim$ Features: - List tags - Filter tags matching a pattern - Jump/Preview tags - Insert tags (and a template for the argument list if supported by tSkeleton, which has to be installed for this) ----------------------------------------------------------------------- Install~ Edit the vba file and type: > :so % See :help vimball for details. If you have difficulties or use vim 7.0, please make sure, you have the current version of vimball (vimscript #1502) installed. This script requires tlib (vimscript #1863) to be installed. Suggested maps (to be set in ~/.vimrc): > " Show available tags noremap <Leader>g. :TTags<cr> " Show current buffer's tags noremap <Leader>g% :call ttags#List(0, "*", "", ".")<cr> " Show tags matching the word under cursor noremap <Leader>g# :call ttags#List(0, "*", tlib#rx#Escape(expand("<cword>")))<cr> " Show tags with a prefix matching the word under cursor noremap <Leader>g* :call ttags#List(0, "*", tlib#rx#Escape(expand("<cword>")) .".*")<cr> " Show tags matching the word under cursor (search also in |g:tlib_tags_extra|) noremap <Leader>g? :call ttags#List(1, "*", tlib#rx#Escape(expand("<cword>")))<cr> " Show tags of a certain category for c in split('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', '\zs') exec 'noremap <Leader>g'. c .' :TTags '. c .'<cr>' endfor You can use :echo keys(ttags#Kinds())<cr> to find out which kinds are defined. Dependencies: tlib (>= 0.21) :: http://github.com/tomtom/tlib_vim License: GPLv3 or later Install: See http://github.com/tomtom/vimtlib/blob/master/INSTALL.TXT See http://github.com/tomtom for related plugins.
About
Tag list browser for VIM (List, filter, preview, jump to tags)
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published