vim/vimrc

13 lines
514 B
VimL
Raw Normal View History

set mouse=a cb=unnamedplus,unnamed wim=longest,list,full nocompatible backspace=indent,eol,start cmdheight=1 background=dark ru rnu showcmd incsearch listchars=tab:\|\ list cot=menu,longest,preview si cf cpt=".,i,d,t" tf
filetype plugin on
filetype indent on
syntax on
colorscheme default
cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
autocmd BufWritePre * %s/\s\+$//e
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
let g:clang_c_options = '-std=gnu11'