From 27b802561314ecae04e6ee128e444a69bb00f433 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 30 Mar 2019 22:55:54 +1300 Subject: vimrc: Add folding, reduce contrast of listchars --- vimrc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/vimrc b/vimrc index 17241f6..51f2561 100644 --- a/vimrc +++ b/vimrc @@ -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 [1;5D map! [1;5C map! [1;5D -"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 x nnoremap o ox nnoremap O Ox -- cgit v1.1