Add writing as sudo, trailing spaces removal, change colorscheme to default and some other options
This commit is contained in:
parent
c3ce27a6c0
commit
25ede7e544
7
vimrc
7
vimrc
|
@ -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 plugin on
|
||||||
filetype indent on
|
filetype indent on
|
||||||
syntax 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_powerline_fonts = 1
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
|
Loading…
Reference in New Issue