2018-08-24 09:27:59 +00:00
|
|
|
set number
|
|
|
|
set lbr
|
|
|
|
set fdc=0
|
|
|
|
set vb
|
|
|
|
set expandtab
|
|
|
|
set shiftwidth=4
|
|
|
|
set tabstop=4
|
|
|
|
set softtabstop=4
|
|
|
|
set linespace=0
|
|
|
|
set autoindent
|
|
|
|
set smartindent
|
|
|
|
set mouse=a
|
|
|
|
set cursorline
|
|
|
|
syntax on
|
|
|
|
set showcmd
|
2018-10-31 12:53:51 +00:00
|
|
|
set encoding=utf-8
|
2018-08-24 09:27:59 +00:00
|
|
|
set autowrite
|
|
|
|
set noautochdir
|
|
|
|
|
|
|
|
set hlsearch
|
|
|
|
map <silent> <c-k> :nohlsearch<CR>
|
|
|
|
|
2018-10-31 12:53:51 +00:00
|
|
|
set colorcolumn=72,120
|
2018-08-24 09:27:59 +00:00
|
|
|
hi colorcolumn ctermbg=NONE ctermfg=red cterm=bold guibg=NONE guifg=red gui=bold
|
|
|
|
|
2018-08-28 15:35:32 +00:00
|
|
|
au BufRead /tmp/neomutt-* set tw=72
|
2018-08-24 09:27:59 +00:00
|
|
|
au BufRead /tmp/mutt-* set tw=72
|
|
|
|
|
|
|
|
execute pathogen#infect()
|
|
|
|
|
2018-11-20 22:21:09 +00:00
|
|
|
autocmd vimenter * NERDTree
|
2018-08-24 09:27:59 +00:00
|
|
|
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
|
|
|
|
2018-11-20 22:21:09 +00:00
|
|
|
let g:ycm_server_python_interpreter = '/usr/bin/python'
|
2018-08-24 09:27:59 +00:00
|
|
|
let g:ycm_global_ycm_extra_conf = '/usr/share/vim/vimfiles/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
|