aboutsummaryrefslogtreecommitdiff
path: root/vimrc-common
diff options
context:
space:
mode:
authorMax Christian Pohle2018-12-02 01:57:50 +0100
committerMax Christian Pohle2018-12-02 01:57:50 +0100
commitc4f024a6aef7661370904b9f0a488b8739ba35c4 (patch)
treea3ce49c796dcaac368726766016b005761d5b613 /vimrc-common
parent9e36bdf1a060a2ffcb0172eb42e954c475ec3f70 (diff)
downloadvim-c4f024a6aef7661370904b9f0a488b8739ba35c4.tar.bz2
vim-c4f024a6aef7661370904b9f0a488b8739ba35c4.zip
Fixed colorscheme and display problems
- signify sometimes required CTRL-L to display the symbols - separation between windows looked ugly because of the foldcolumns background color- fixed. - added Xresources (can be linked to ~/.Xresources), applies base16 - added xinputrc (can be linked to ~/.xinputrc), makes bash vi-like
Diffstat (limited to 'vimrc-common')
-rw-r--r--vimrc-common2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc-common b/vimrc-common
index 7eb499f..21df101 100644
--- a/vimrc-common
+++ b/vimrc-common
@@ -160,7 +160,7 @@ set foldcolumn=2 | " I think I don't need this second indicator
160" set foldmethod=syntax | " foldlevel: syntax, indent, manual / foldmethod=syntax makes Vim incredible slow 160" set foldmethod=syntax | " foldlevel: syntax, indent, manual / foldmethod=syntax makes Vim incredible slow
161set foldnestmax=1 | " top level folding only 161set foldnestmax=1 | " top level folding only
162set foldopen=block,hor,search | " when do we unfold? 162set foldopen=block,hor,search | " when do we unfold?
163set foldtext=printf('%*s%.*S',indent(v:foldstart),'',&textwidth-indent(v:foldstart),substitute(substitute(join(getline(v:foldstart,v:foldend),'\ '),'[[:space:]]\\+','\ ','g'),'^[[:space:]*]','','g')) 163set foldtext=printf('%*s%.*S',indent(v:foldstart),'',&textwidth-indent(v:foldstart),substitute(substitute(join(getline(v:foldstart,v:foldend),'\ '),'[[:space:]*/]\\+','\ ','g'),'^[[:space:]*]','','g'))
164 164
165" works ... 165" works ...
166" set foldexpr=match(synIDattr(synID(v:lnum,indent(v:lnum)+1,0),'name'),'Comment')>-1 166" set foldexpr=match(synIDattr(synID(v:lnum,indent(v:lnum)+1,0),'name'),'Comment')>-1
..