I don\'t have use for the menu and tools bars in gvim on Windows; Can I hide them?
This will give more space to the text area.
I have
set guioptions=
in my .vimrc. But too often I wanted to use the menu momentarily with :set go+=m
and :set go-=m
.
From Hide toolbar or menus to see more text - Vim Tips Wiki, I use their
let mapleader=","
nnoremap m :if &go=~#'m'set go-=melseset go+=mendif
to toggle menu on and off with ,m
. (Well, they actually have ctrl-F1
as the key-binding.)
For instance, when I need to remember the way to paste from OS' clipboard, I can find it in the menu very quickly. Once found, I'll still type it manually with "+gP
to build muscle memory, but still I use it so seldom that I forget it too quickly.