-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gvimrc
33 lines (26 loc) · 934 Bytes
/
.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
" Size "
"======"
set lines=40 " Number of lines of the Vim window.
set columns=160 " Number of columns of the screen.
" Color Scheme "
"=============="
set background=dark " When set to "dark", Vim will try to use colors that look good on a dark background.
colorscheme solarized " Load color scheme.
" GUI Options "
"============="
" Use -= to hide widget
" Use += to display widget
set guioptions-=m " Hide menu bar
set guioptions-=T " Hide toolbar
set guifont=Hack\ 10
"========="
" Plugins "
"========="
" NERDTree "
"=========="
autocmd vimenter * NERDTree " Open NERDTree automatically when vim starts up
" Close vim if the only window left open is a NERDTree
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
" tagbar "
"========"
autocmd vimenter * :Tagbar " Open Tagbar automatically when vim starts up