Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " User interface
- " set guioptions-=e "Gui tab off if gvim
- set guioptions+=c "GUI dialog off if gvim
- set guioptions-=T "GUI toolbar off if gvim
- set guioptions-=m "GUI menu hide
- set lines=48 columns=165 " Window size
- set mouse=a
- "GUI scroll hide
- set guioptions+=LlRrb
- set guioptions-=LlRrb
- " Hot keys show/hide gui menu
- function MyToggleMenu()
- let old_guioptions = &guioptions
- if stridx(old_guioptions, 'm') != -1
- set guioptions-=m
- else
- set guioptions+=m
- endif
- endfunction
- nmap <C-m> :call MyToggleMenu()<CR>
- vmap <C-m> <ESC>:call MyToggleMenu()<CR>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement