PreviewDialog : Shows a GTK dialog with the color or image below the cursor
script karma |
Rating 7/4,
Downloaded by 705 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Taylon Silmer |
|
script type |
utility |
|
description |
PreviewDialog is written to show a GTK preview dialog with the color or image below the cursor.
It's very useful to edit css files, but can be used for anything.
Options:
g:PreviewDialogKey:
Change shotcurt (Default is 'F8')
g:PreviewDialogEnable:
Enable PreviewDialog (Default is '1')
g:PreviewDialogAuto:
Shows the dialog automatically when hold cursor over a word (Default is '1')
g:PathPyFile:
Set the path of .py file (Default is '~/.vim/')
g:DialogPosition:
Set default window position. Can you use 'center', 'right_top' or 'right_bottom' (Default is 'right_bottom')
Any suggestion, bug report or feature request are welcome. |
|
install details |
Requires Python and GTK.
Open preview_dialog.vba with vim/gvim and run:
:so % |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.147.61.19
|