Fullscreen for GVIM in Linux
To me, fullscreen does magic in terms of gained productivity – there’s no distraction anywhere; I can perfectly focus on the work ahead. MacVim has a nice fullscreen feature(CMD+SHIFT+F). I don’t want to miss it in my Linux environments, though.
In GVIM, there is a little manual labour involved, because in Linux, the window manager is responsible for, well.. managing windows – GVIM itself can’t implement “fullscreen”.
To achieve true fullscreen capabilities in GVIM and Linux, there are two steps involved:
- Make a shortcut in your window manager for fullscreen
- Get rid of GVIMs’ menu and toolbar
Get rid of the menu:
And the toolbar:
Of course, you could edit your vimrc and set those flags globally.
Now, enjoy your editing with SHIFT+ALT+F.