Add writing as sudo, trailing spaces removal, change colorscheme to default and some other options

This commit is contained in:
caskd 2019-12-31 22:01:00 +01:00
parent c3ce27a6c0
commit 25ede7e544
No known key found for this signature in database
GPG Key ID: 79DB21404E300A27
1 changed files with 5 additions and 2 deletions

7
vimrc
View File

@ -1,8 +1,11 @@
set nocompatible backspace=indent,eol,start cmdheight=4 background=dark ruler relativenumber showcmd incsearch listchars=tab:\|\ list
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 koehler
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