Sunday, August 23, 2009

Vim Function List

[Source]

ShowFunc.vim : Creates a list of all tags / functions from a window, all windows or buffers.

Default Key Mappings:
Run scan and open cwindow.

To reassign add the following to your .vimrc:
map NewKey ShowFunc
map! NewKey ShowFunc
For example to change the mapping to
map ShowFunc
map! ShowFunc

ShowFunc Window commands:
c Close cwindow.
h Display help dialog.
r Refresh.
s Change file sort, results will appear in either alphabetical or file order. (Default: file order)
t Change scan type, results will be from either the current file, all open windows or all open buffers. (Default: all open buffers)

install details
Put this file in the vim plugins directory (~/.vim/plugin/) to load it automatically, or load it with :so ShowFunc.vim.

No comments: