aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-05 00:26:57 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-05 00:26:57 +1300
commit74668941c12a7637e3f5c60db17c748a04d5501e (patch)
tree15ea9bc0e280d8c2573c66af37a9f183bb1c8e80
parentd1d039f3444f85b6c6e53a7ac69e6588c2e78fba (diff)
parent299ad07d14db67a016e561182d407cc2cfb6bc33 (diff)
downloaddotfiles-74668941c12a7637e3f5c60db17c748a04d5501e.tar.gz
Merge branch 'feature/gvimrc-refa...' into develop
* feature/gvimrc-refactor: Set 'guioptions' flag by flag Use variable setting approach for 'guifont'
-rw-r--r--vim/gvimrc15
1 files changed, 10 insertions, 5 deletions
diff --git a/vim/gvimrc b/vim/gvimrc
index 286b84ba..128a396a 100644
--- a/vim/gvimrc
+++ b/vim/gvimrc
@@ -2,14 +2,19 @@
" these are both workable monospace fonts, but Ubuntu Mono doesn't render very
" nicely on Windows a lot of the time
if has('unix')
- silent! set guifont=Ubuntu\ Mono\ 12
+ silent! let &guifont = 'Ubuntu Mono 12'
else
- silent! set guifont=Consolas:h11
+ 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