38 lines
601 B
VimL
38 lines
601 B
VimL
" pathogen
|
|
execute pathogen#infect()
|
|
|
|
" auto indent
|
|
filetype plugin indent on
|
|
|
|
" enable syntax highlighting
|
|
syntax on
|
|
|
|
" tabwidth
|
|
set tabstop=4
|
|
set shiftwidth=4
|
|
|
|
" line numbers
|
|
set number
|
|
|
|
" always enable status line
|
|
set laststatus=2
|
|
|
|
" youcomleteme config
|
|
let g:ycm_autoclose_preview_window_after_insertion = 1
|
|
let g:ycm_autoclose_preview_window_after_completion = 1
|
|
|
|
nmap <F12> :YcmCompleter GoTo<CR>
|
|
|
|
" vim-airline config
|
|
let g:airline#extensions#whitespace#mixed_indent_algo = 2
|
|
|
|
" themes
|
|
colorscheme elflord
|
|
|
|
" gvim layout
|
|
set guioptions-=r
|
|
set guioptions-=L
|
|
set guioptions-=m
|
|
set guioptions-=T
|
|
|