commit 63e607cd68d75d3c9992cfbc0debed25d299dfae parent eaca657c04a69516fe8071572222abb054d7d082 Author: Chris Bracken <chris@bracken.jp> Date: Wed, 13 Feb 2013 11:20:06 -0800 Line-wrapped menubar toggling Diffstat:
M | .vim/.vimrc | | | 9 | ++++++++- |
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/.vim/.vimrc b/.vim/.vimrc @@ -71,5 +71,12 @@ if has("gui_running") " Menubar toggling :let g:toggleMenu = 0 - map <silent> <S-F1> :if g:toggleMenu == 1<CR>:set guioptions-=m<CR>:let g:toggleMenu = 0<CR>:else<CR>:set guioptions+=m<CR>:let g:toggleMenu = 1<CR>:endif<CR> + map <silent> <S-F1> + \ :if g:toggleMenu == 1<CR> + \ :set guioptions-=m<CR> + \ :let g:toggleMenu = 0<CR> + \ :else<CR> + \ :set guioptions+=m<CR> + \ :let g:toggleMenu = 1<CR> + \ :endif<CR> endif