Merge branch 'dev' of https://github.com/vimwiki/vimwiki into dev
This commit is contained in:
commit
23db33ed17
@ -1547,14 +1547,14 @@ function! s:normalize_link_syntax_v() " {{{
|
|||||||
let done = 0
|
let done = 0
|
||||||
|
|
||||||
try
|
try
|
||||||
norm! gvy
|
norm! gv""y
|
||||||
let visual_selection = @"
|
let visual_selection = @"
|
||||||
let visual_selection = substitute(g:vimwiki_WikiLinkTemplate1, '__LinkUrl__', '\='."'".visual_selection."'", '')
|
let visual_selection = substitute(g:vimwiki_WikiLinkTemplate1, '__LinkUrl__', '\='."'".visual_selection."'", '')
|
||||||
|
|
||||||
call setreg('"', visual_selection, 'v')
|
call setreg('"', visual_selection, 'v')
|
||||||
|
|
||||||
" paste result
|
" paste result
|
||||||
norm! `>pgvd
|
norm! `>""pgvd
|
||||||
|
|
||||||
finally
|
finally
|
||||||
call setreg('"', rv, rt)
|
call setreg('"', rv, rt)
|
||||||
|
Loading…
Reference in New Issue
Block a user