Lookup : ftplugin for vim files to quickly find element definition, occurrences, or docs
| script karma
Downloaded by 975
Comments, bugs, improvements
script versions (upload new version)
|Eric Van Dewoestine|
|Lookup is a plugin for vim script developers which provides functionality to
quickly and easily lookup docs for vim elements, or in the case of user defined
functions, commands, or variables, find the definition or occurrences of the
While editing a vim file, you can lookup the element under the cursor using:
You can also map this command so that you simply need to hit <cr> on an element
to look it up by adding the following to a ftplugin/vim_lookup.vim file in your
vimfiles directory (%HOME%/vimfiles on Windows, ~/.vim on Linux/OSX):
if bufname('%') !~ '^\(command-line\|\[Command Line\]\)$'
nnoremap <silent> <buffer> <cr> :Lookup<cr>
For more details please see the lookup vim docs (:help lookup).
|1. Download the vimball (lookup.vba) to any directory.
2. Open the file in vim ($ vim lookup.vba)
3. Source the file (:so %)
Click on the package to download.
ip used for rating: 18.104.22.168