Change surround mapping for creating markdown link
This commit is contained in:
parent
5299184d0b
commit
20e4ab57e5
@ -9,10 +9,10 @@ setlocal textwidth=80
|
|||||||
setlocal tabstop=4 shiftwidth=4 softtabstop=4
|
setlocal tabstop=4 shiftwidth=4 softtabstop=4
|
||||||
|
|
||||||
" Custom surround for markdown link syntax.
|
" Custom surround for markdown link syntax.
|
||||||
" "ys{motion}[" makes link out of "word" -> "[word]()"
|
" "ys{motion}l" makes link out of "word" -> "[word]()"
|
||||||
autocmd FileType markdown let b:surround_91 = "[\r]()"
|
autocmd FileType markdown let b:surround_{char2nr("l")} = "[\r]()"
|
||||||
" "ys{motion}]" makes link out of "url" -> "[](url)"
|
" "ys{motion}L" makes link out of "url" -> "[](url)"
|
||||||
autocmd FileType markdown let b:surround_93 = "[](\r)"
|
autocmd FileType markdown let b:surround_{char2nr("L")} = "[](\r)"
|
||||||
|
|
||||||
finish " Experiment functionality (disabled). {{{
|
finish " Experiment functionality (disabled). {{{
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user