summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc15
1 files 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 <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>