Skip to content

tomtom/ttagecho_vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This plugin is similar to echofunc (vimscript #1735) to which it owes 
much inspiration and two lines of code. It displays some information 
about the tag under the cursor or mouse pointer either in the echo area 
or as balloon help (see |g:ttagecho_balloon_patterns|). If there are 
more than one tags that match, you can loop through the tags by invoking 
the respective commands repeatedly.

If hookcursormoved (vimscript #2037, version >= 0.4) is installed, for 
certain filetypes (see |g:ttagecho_parentheses_patterns|) it will 
display the information in the echo area also if the cursor moves over a 
round parenthesis.

If you don't like the default format for the tags, you can define the 
function TTagechoFormat_{&filetype}(a:tag) that should return some nicely 
formatted information.


-----------------------------------------------------------------------

Status:  Works for me (there may be some minor quirks)
Dependencies:
  hookcursormoved :: http://github.com/tomtom/hookcursormoved_vim
      > git clone git://github.com/tomtom/hookcursormoved_vim.git
  tlib :: http://github.com/tomtom/tlib_vim
      > git clone git://github.com/tomtom/tlib_vim.git
Install: See http://github.com/tomtom/vimtlib/blob/master/INSTALL.TXT
See http://github.com/tomtom for related plugins.

About

Show tag information for the word under cursor/mouse pointer (in VIM)

Resources

Stars

Watchers

Forks

Packages

No packages published