diff options
Diffstat (limited to 'vimrc-full')
-rw-r--r-- | vimrc-full | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -560,7 +560,10 @@ if has("autocmd") | |||
560 | \ g, | 560 | \ g, |
561 | menu &List.location.signs\ to\ list | 561 | menu &List.location.signs\ to\ list |
562 | \<Tab>CMD | 562 | \<Tab>CMD |
563 | \ :execute ":call setloclist(0, map(get(getbufinfo('.')[0], 'signs'), {_, p->extend(p, {'bufnr':buffer_number('.'), 'text':get(p, 'name')})}))"<CR> | 563 | \ :execute ":call setloclist(0, map(get(getbufinfo('%')[0], 'signs'), {_, p->extend(p, {'bufnr':buffer_number('.'), 'text':get(p, 'name')})}))"<CR> |
564 | menu &List.location.list\ to\ signs | ||
565 | \<Tab>CMD | ||
566 | \ :call execute(extend(['sign define LocationListEntry text=L', 'sign unplace *'], map(getloclist('%'), {key, val->'sign place '.(key+100).' name=LocationListEntry line='.val['lnum'].' buffer='.buffer_number('%')})))<CR> | ||
564 | menu &Jump.list | 567 | menu &Jump.list |
565 | \<Tab>:jumps | 568 | \<Tab>:jumps |
566 | \ :jumps<CR> | 569 | \ :jumps<CR> |