diff options
author | David Phillips <david@sighup.nz> | 2019-03-30 22:55:54 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2019-03-31 22:11:31 +1300 |
commit | 27b802561314ecae04e6ee128e444a69bb00f433 (patch) | |
tree | e5ad2b9366169548b7a77072070c9b11ba4fa816 /vimrc | |
parent | 96e7fbc88ace0698a759cf83a9308953851dd019 (diff) | |
download | dotfiles-27b802561314ecae04e6ee128e444a69bb00f433.tar.xz |
vimrc: Add folding, reduce contrast of listchars
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -1,5 +1,9 @@ syntax on -set cc=80 +set cc=80,120 +set number + +set foldmethod=syntax +set nofoldenable set autoindent set tabstop=4 @@ -13,16 +17,17 @@ map <ESC>[1;5D <C-Left> map! <ESC>[1;5C <C-Right> map! <ESC>[1;5D <C-Left> -"set listchars=tab:▸\ ,trail:·,space:· -set listchars=tab:→\ ,trail:·,space:· +set listchars=tab:─\ ,trail:·,space:·,nbsp:␣,extends:⯈,precedes:⯇ +set showbreak=\\ set list highlight ExtraWhitespace ctermbg=red guibg=red +highlight SpecialKey ctermfg=23 +highlight NonText ctermfg=23 +highlight Folded ctermbg=0 match ExtraWhitespace /\s\+$/ -set number - inoremap <CR> <CR>x<BS> nnoremap o ox<BS> nnoremap O Ox<BS> |