Skip to content

vim-scripts/autopreview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=2228

The "autopreview" plugin is a light script plugin for Vim that could automatically preview the definition of variables or functions in a preview window like source insight.
I think this script should be helpful when you're insighting a lot of code files and wanna to see the definition of a new variable or function in the source codes immediately without having to input "ptag" each time.
Taglist plugin is needed for this plugin which is alreasy integrated into the latest version of Gvim.

#Usage
If you add "let g:AutoPreview_enabled = 1" into your vimrc file, the autopreview window will be open when vim is started; otherwise add "let g:AutoPreview_enabled = 0" (which is default if you do not set this value) into your vimrc file, the autopreview window will be open only after you press your mapped hotkey.
Any time you press your mapped hotkey, you could enable or disable the autopreview window

About

a light script to immediately preview definitions like source insight

Resources

Stars

Watchers

Forks

Packages

No packages published