-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
10 lines (7 loc) · 980 Bytes
/
README
1
2
3
4
5
6
7
8
9
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