aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/shortcuts.txt2
-rw-r--r--vimrc-full13
2 files changed, 9 insertions, 6 deletions
diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt
index c3c5ac1..6cdebec 100644
--- a/doc/shortcuts.txt
+++ b/doc/shortcuts.txt
@@ -181,6 +181,8 @@ viB:sort = sort inner block by name
181" At this point do slow actions 181" At this point do slow actions
182:profdel * 182:profdel *
183:e /tmp/profile.log 183:e /tmp/profile.log
184" add a break point to a vim script (like vimrc) to invoke the internal debugger
185:breakadd here
184 186
185:finish = from within a viml-script: stop sourcing it 187:finish = from within a viml-script: stop sourcing it
186 188
diff --git a/vimrc-full b/vimrc-full
index c6dc9d8..f192eb3 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -59,7 +59,11 @@ if has("multi_byte")
59 " set listchars+=eol:↲ | " symbols used when using :set list (which displays non-printable chars) 59 " set listchars+=eol:↲ | " symbols used when using :set list (which displays non-printable chars)
60 " set listchars+=space:· | " symbols used when using :set list (which displays non-printable chars) 60 " set listchars+=space:· | " symbols used when using :set list (which displays non-printable chars)
61 set showbreak+=› | " symbol used in the beginning of a wrapped line 61 set showbreak+=› | " symbol used in the beginning of a wrapped line
62 set list 62
63 " automatically enter list mode when going in insert mode (makes above syntax command temporarily ineffective)
64 set nolist
65 autocmd InsertEnter * set list
66 autocmd InsertLeave * set nolist
63" set fillchars+=stlnc:\― | " 67" set fillchars+=stlnc:\― | "
64end 68end
65 69
@@ -234,7 +238,8 @@ set foldnestmax=1 | " top level folding only
234set foldopen=block,hor,search | " when do we unfold? 238set foldopen=block,hor,search | " when do we unfold?
235" set foldtext=Foldtext() | " 239" set foldtext=Foldtext() | "
236" set foldtext=v:folddashes.substitute(getline(v:foldstart),'\\v^/[/*]\','','g') 240" set foldtext=v:folddashes.substitute(getline(v:foldstart),'\\v^/[/*]\','','g')
237set foldtext='⊞\ '.substitute(getline(v:foldstart),'^[\ '.printf(&cms,'').']*','','').'↵'.getline(v:foldstart+1).'↵'.getline(v:foldstart+2) 241" set foldtext='⊞\ '.substitute(getline(v:foldstart),'^[\ '.printf(&cms,'').']*','','').'↵'.getline(v:foldstart+1).'↵'.getline(v:foldstart+2)
242 set foldtext='⊞\ '.substitute(join(getline(v:foldstart,v:foldend),'↵'),'\[*\/\]','','g')
238 243
239" vim window behaviour 244" vim window behaviour
240set splitbelow | " open new windows below the current one (i find that more intuitive) 245set splitbelow | " open new windows below the current one (i find that more intuitive)
@@ -1031,10 +1036,6 @@ function! ExtendColorTheme()
1031 1036
1032 highlight! link Convention Error 1037 highlight! link Convention Error
1033 1038
1034 " automatically enter list mode when going in insert mode (makes above syntax command temporarily ineffective)
1035 autocmd InsertEnter * set list
1036 autocmd InsertLeave * set nolist
1037
1038 " autocmd InsertLeave * call matchadd('Conceal', ' \+$', -1, 101, { 'conceal': '⟶' }) 1039 " autocmd InsertLeave * call matchadd('Conceal', ' \+$', -1, 101, { 'conceal': '⟶' })
1039 autocmd InsertEnter * silent! call matchdelete(101) 1040 autocmd InsertEnter * silent! call matchdelete(101)
1040 autocmd InsertLeave * call matchadd('Convention', ' \+$', -1, 101, { 'conceal': '⟶' }) 1041 autocmd InsertLeave * call matchadd('Convention', ' \+$', -1, 101, { 'conceal': '⟶' })
..