aboutsummaryrefslogtreecommitdiff
path: root/vim/gvimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-04 23:10:32 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-04 23:10:32 +1300
commit299ad07d14db67a016e561182d407cc2cfb6bc33 (patch)
treec66b614e527e7bee2eacb68875a21fb9b053542c /vim/gvimrc
parentUse variable setting approach for 'guifont' (diff)
downloaddotfiles-299ad07d14db67a016e561182d407cc2cfb6bc33.tar.gz
dotfiles-299ad07d14db67a016e561182d407cc2cfb6bc33.zip
Set 'guioptions' flag by flag
This is a bit easier to read than having the flags meanings in a block comment above the line.
Diffstat (limited to 'vim/gvimrc')
-rw-r--r--vim/gvimrc11
1 files changed, 8 insertions, 3 deletions
diff --git a/vim/gvimrc b/vim/gvimrc
index 33ee592e..128a396a 100644
--- a/vim/gvimrc
+++ b/vim/gvimrc
@@ -7,9 +7,14 @@ else
silent! let &guifont = 'Consolas:h11'
endif
-" Use the system GUI clipboard; use console dialogs instead of popup windows;
-" use the gVim icon
-set guioptions=aci
+" Reset guioptions
+set guioptions=
+" Use the system GUI clipboard
+set guioptions+=a
+" Use console dialogs instead of popup windows
+set guioptions+=c
+" Use the gVim icon
+set guioptions+=i
" When the GUI starts, t_vb is reset to its default value, so it's necessary
" to repeat this line from my .vimrc file that turns off visual bells