Skip to content

asdlei99/gvim_fullscreen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gvim_fullscreen

what it does?

Toggle GVim on Windows into fullscreen mode.

Change GVim whole window's transparency.

Inspired by derekmcloughlin/gvimfullscreen_win32, but totally written by myself, the easier way.

how to use

Put gvim_fullscreen.dll into the same directory where gvim.exe located.

In your _vimrc file, write down these lines:

" toggle fullscreen mode by pressing F11
noremap <f11> <esc>:call libcallnr('gvim_fullscreen.dll', 'ToggleFullscreen', 0)<cr>
" toggle window transparency to 247 or 180 by pressing F12
noremap <f12> <esc>:call libcallnr('gvim_fullscreen.dll', 'ToggleTransparency', "247,180")<cr>

You'd better remove your gvim's toolbar, scrollbar, menubar to have a better look.

set guioptions-=TrLm

how to compile

Open Visual Studio Command Prompt, cd into gvim_fullscrren and then type nmake, you will get gvim_fullscreen.dll.

Packages

No packages published

Languages

  • C++ 95.7%
  • Makefile 4.3%