Thank you all for your "GREAT" help!! I finally was forced to learn a
little about VIM scripting and write the scripts myself (or better:
put them together from what I found). So here are the results if
someone googles this topic later:

** NOTE: these scripts need wimtweak.dll (http://www.vim.org/scripts/
script.php?script_id=687) **

darkroom.vim
-------------------
 call libcallnr("vimtweak.dll", "SetAlpha", 210)
 set go& go-=m go-=T go-=r stal&
 call libcallnr("vimtweak.dll", "EnableMaximize", 1)
 call libcallnr("vimtweak.dll", "EnableCaption", 0)
 call libcallnr("vimtweak.dll", "EnableTopMost", 1)
 map <special> <F12> :ru undarkroom.vim<CR>

undarkroom.vim
-----------------------
 call libcallnr("vimtweak.dll", "SetAlpha", 255)
 set go& stal&
 call libcallnr("vimtweak.dll", "EnableMaximize", 0)
 call libcallnr("vimtweak.dll", "EnableCaption", 1)
 call libcallnr("vimtweak.dll", "EnableTopMost", 0)
 map <special> <F12> :ru darkroom.vim<CR>


The F12 key is used to switch between fullscreen and window mode. The
scripts are placed in the main folder, where gvim is located.
Following line must be added to _vimrc to map F12 for first use:

 :map <special> <F12> :ru darkroom.vim<CR>
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to