-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgvimrc
More file actions
45 lines (33 loc) · 831 Bytes
/
Copy pathgvimrc
File metadata and controls
45 lines (33 loc) · 831 Bytes
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
macmenu &File.Print key=<nop>
" remove the scrollbars
set guioptions-=r
set guioptions-=L
set laststatus=1
set linespace=0
set cc=
nmap ,ve :e ~/.gvimrc<cr>
nmap ,vv :so ~/.gvimrc<cr>
" Maximize window
nmap ,x :set columns=999 lines=99<cr>
" Make the window 80 col (+4 for line numbers)
nmap ,e :set columns=84<cr>
" Dark/Light mode
nmap ,bl :set background=light<cr>
nmap ,bd :set background=dark<cr>
" set guifont=menlo:h15
" set guifont=monaco:h13
" set guifont=source_code_pro:h14
" set guifont=SF_Mono:h16
" set guifont=JetBrains_Mono_NL:h18
set guifont=iA_Writer_Mono_S:h16
let theme = system("~/.bin/dark-or-light")
if theme == "dark"
set background=dark
elseif theme == "light"
set background=light
endif
nmap ,cc :Colors<cr>
" colorscheme purplebee
" colorscheme dusk
colorscheme pencil
" colorscheme nova