forked from ryanb/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgvimrc
49 lines (35 loc) · 1.41 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
" Example Vim graphical configuration.
" Copy to ~/.gvimrc or ~/_gvimrc.
" set guifont=Menlo:h13 " Font family and font size.
set antialias " MacVim: smooth fonts.
set encoding=utf-8 " Use UTF-8 everywhere.
set guioptions-=T " Hide toolbar.
set guioptions-=T "kill toolbar
set guioptions-=m "kill menu
set guioptions-=r "kill right scrollbar
set guioptions-=l "kill left scrollbar
set guioptions-=L "kill left scrollbar with multiple buffers
set background=dark " Background.
if has("gui_macvim")
set guifont=Menlo\ LG\ S\ DZ:h13
set showtabline=1
set lines=53 columns=120 " Window dimensions.
" Fullscreen takes up entire screen
set fuoptions=maxhorz,maxvert
" Command-T for CommandT
macmenu &File.New\ Tab key=<nop>
" Terminal.app shortcuts for tab navigation.
macmenu Window.Select\ Next\ Tab key=<D-S-}>
macmenu Window.Select\ Previous\ Tab key=<D-S-{>
macmenu &Edit.Special\ Characters\.\.\. key=<nop>
map <D-t> :CommandT<CR>
map <D-C-t> :CommandTFlush<CR>CommandT<CR>
" Command-Shift-F for Ack
" macmenu Window.Toggle\ Full\ Screen\ Mode key=<nop>
" map <D-F> :Ack<space>
" Command-e for ConqueTerm
" map <D-e> :call StartTerm()<CR>
" Command-/ to toggle comments
nmap <D-/> :TComment<CR>
vmap <D-/> :TComment<CR> gv
end