Add some options for tweaking the display that I like

This commit is contained in:
Danielle McLean 2016-10-04 22:50:47 +11:00
parent 863a7ba379
commit 8a489d6880
No known key found for this signature in database
GPG key ID: CC91589719027E94

19
.vimrc
View file

@ -1,6 +1,6 @@
if has('win32') if has('win32')
set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after
set viminfo+=n~/.viminfo set viminfo+=n~/.viminfo
endif endif
if empty(glob('~/.vim/autoload/plug.vim')) if empty(glob('~/.vim/autoload/plug.vim'))
@ -29,4 +29,19 @@ call plug#end()
colorscheme inkpot colorscheme inkpot
inoremap jj <Esc> inoremap jj <Esc>
set hlsearch
set linebreak showbreak=
set showcmd
if exists('+relativenumber')
set relativenumber
else
set number
endif
set tabstop=2 shiftwidth=2 set tabstop=2 shiftwidth=2
if exists('+breakindent')
set breakindent breakindentopt=sbr
endif