aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-21 14:07:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-21 14:07:02 +1200
commit127c4aa5fe0018ce473624d52256fd3a9b59a0d4 (patch)
tree42aec1e6df2db94f67dd3ce31391d1018c63d263 /vim/vimrc
parentAdd \c and \C bindings for cursor lines (diff)
downloaddotfiles-127c4aa5fe0018ce473624d52256fd3a9b59a0d4.tar.gz
dotfiles-127c4aa5fe0018ce473624d52256fd3a9b59a0d4.zip
Review GUI Vim options in .gvimrc
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index f12ac69e..b1176b65 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -143,6 +143,12 @@ if has('file_in_path')
set path+=**
endif
+" Don't load menus at all in GUI mode; needs to be set here, before gVim
+" actually starts up
+if has('gui_running')
+ set guioptions+=M
+endif
+
" Line break settings and mappings
if has('linebreak')