forked from rajeshthummalapally/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgvimrc.before
52 lines (35 loc) · 1.35 KB
/
gvimrc.before
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
" -----------------------------------------------------------------------------
" | VIM Settings |
" | GUI stuff |
" -----------------------------------------------------------------------------
" OS Specific *****************************************************************
set fuoptions=maxvert,maxhorz " fullscreen options (MacVim only), resized window when changed to fullscreen
"set guifont=Monaco:h22.00
set guifont=Monaco:h15.00
"colorscheme molokai
"colorscheme github
set guioptions-=m " remove menubar
set guioptions-=T " remove toolbar
set guioptions-=r " remove right scroll bar
set stal=2 " turn on tabs by default
set encoding=utf-8 " User UTF-8 everywhere
set anti " Antialias font
set antialias " Antialias font
" Default size of window
set columns=120
set lines=50
" Tab headings
set gtl=%t gtt=%F
" For File Browser
nnoremap <silent> <F8> :Exp<CR>
nnoremap <silent> <D-e> :Exp<cr>
" save
noremap <silent> <D-s> :w<CR>
" tabs
map <silent> <D-t> :tabnew %<cr>
map <silent> <D-w> :tabclose<cr>
" relative path column number line number total line number percentage
set statusline=%-40f\ %10((%v)%)\ %10((%l/%L)%)\ %P
set laststatus=2
map <D-left> :tabp<CR>
map <D-right> :tabn<CR>