diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-05 00:26:57 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-05 00:26:57 +1300 |
commit | 74668941c12a7637e3f5c60db17c748a04d5501e (patch) | |
tree | 15ea9bc0e280d8c2573c66af37a9f183bb1c8e80 | |
parent | Merge branch 'feature/plugin-shor...' into develop (diff) | |
parent | Set 'guioptions' flag by flag (diff) | |
download | dotfiles-74668941c12a7637e3f5c60db17c748a04d5501e.tar.gz dotfiles-74668941c12a7637e3f5c60db17c748a04d5501e.zip |
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/gvimrc | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -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 |