aboutsummaryrefslogtreecommitdiff
path: root/gvimrc.dot.link
blob: c8044b211d7e2a663582f18f7f216a4d6800b51a (plain)
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
" GVIM Configuration
set background=light
set mouse=a
set guioptions-=m " remove menu bar
set guioptions-=T " remove toolbar

" GVIM IDE Configuration
set nocompatible " must be the first line
filetype on
filetype indent on
filetype plugin on
set laststatus=2
set statusline=%<%f\%h%m%r%=%-20.(line=%l\ \ col=%c%V\ \ totlin=%L%)\ \ \%h%m%r%=%-40(bytval=0x%B,%n%Y%)\%P

" Change to the current file's folder
map <leader>cd :cd %:p:h>cr<

" Font configuration
" Terminus is currently rendering slowly
"set gfn=Terminus\ 8
"set gfn=PowerlineFont\ 8
set gfn=Monospace\ 8

" 256 colors support
set t_Co=256

" Color scheme
"colorscheme solarized
colorscheme xoria256

" Powerline
"set showtabline=1 " Do not display the tabline if there's just one tab
"let g:Powerline_symbols='fancy'
"python from powerline.vim import setup as powerline_setup
"python powerline_setup()
"python del powerline_setup