-
Notifications
You must be signed in to change notification settings - Fork 0
/
ginit.vim
47 lines (36 loc) · 1.39 KB
/
ginit.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
" Gvim
" jordwalke/VimBox
try " Change the default font
set guifont=Hack:h12
catch /E596:/
endtry
" set columns=
" set lines=
set guioptions+=c " Use console dialogs
set guioptions-=T " Make the toolbar stay hidden after a restart
set guioptions-=r " Disable right-hand scrollbar
if &showtabline > 0
set guioptions-=e " Use a non-GUI tab pages line
endif
set guicursor+=n-v-c:blinkon0 " Disable cursor blinking
" set backupcopy=yes " Prevent Finder file labels from disappearing
if has('gui_macvim')
" set macmeta " Use option (alt) as meta key
" set antialias " Smoother fonts, default on for MacVim
" set blurradius=0 " When transparent, adds a blue effect to the background
" set transparency=0 " Window background transparency percentage
" set fullscreen " Enable fullscreen
" set fuoptions=maxvert,maxhorz
" Note: these have an effect only if 'Use Core Text renderer' is enabled
" set macligatures " Display ligatures if the font supports them
" set matchinstrokes " Lighter text rendering
" Note: these should be added to .vimrc if has('gui_macvim')
" let g:macvim_hig_shift_movement = 1 "Enable shift+movement selection
" let g:macvim_skip_cmd_opt_movement = 1 " Disable mappings Cmd/Alt + arrow
endif
if has('win32')
set guioptions-=t " Remove 't' flag from 'guioptions': no tearoff menu entries
endif
if filereadable($HOME . '/.gvimrc.local')
source ~/.gvimrc.local
endif