-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgvimrc
58 lines (48 loc) · 1.56 KB
/
gvimrc
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
48
49
50
51
52
53
54
55
56
57
58
" make fullscreen
if os == "Darwin"
set fu
set guifont=Anonymice\ Powerline:h10.0
" antialiasing appears to be necessary for some bold/italic effects to always
" work. otherwise, they work sometimes at some sizes and then begin to fail in
" macvim for unkown reasons
set antialias
map <D-N> <esc>:call MoveToNextTab()<CR>
map <D-P> <esc>:call MoveToPrevTab()<CR>
" better motion
map <D-k> <esc><C-W>k
map <D-j> <esc><C-W>j
map <D-h> <esc><C-W>h
map <D-l> <esc><C-W>l
map <D-up> <esc><C-W><up>
map <D-down> <esc><C-W><down>
map <D-left> <esc><C-W><left>
map <D-right> <esc><C-W><right>
" better split creation
map <C-S-left> <esc>:topleft vnew <CR>
map <C-S-right> <esc>:botright vnew <CR>
map <C-S-up> <esc>:topleft new <CR>
map <C-S-down> <esc>:botright new <CR>
" buffer
map <D-S-left> <esc>:leftabove vnew <CR>
map <D-S-right> <esc>:rightbelow vnew <CR>
map <D-S-up> <esc>:leftabove new <CR>
map <D-S-down> <esc>:rightbelow new <CR>
" more splitting
"map <D-|> <D-S-right>
"map <D>- <D-S-down>
" fix the ¥ char
" nmap \¥ \\
" expanding and equalizing buffers
map <D-_> <esc><C-W>_<C-W><Bar>
map <D-/> <esc><C-W>=
" swiping
nmap <SwipeLeft> gT
nmap <SwipeRight> gt
else
set guifont=Anonymous\ Pro\ 11
set noantialias
endif
" remove the menubar, tab-bar, and left/right scrollareas
set guioptions=gt
" turn off bells (auditory and visual)
set vb