Remove autocmd from custom surround variables

This commit is contained in:
Kenneth Benzie 2016-08-23 20:13:17 +01:00
parent eb3550a197
commit 265c851f37
2 changed files with 3 additions and 3 deletions

View File

@ -17,4 +17,4 @@ setlocal commentstring=#%s
" Custon surround for creating a CMake variable from a text object.
" "ys{motion}v" makes a variable out of "<text-obj>" - > "${<text-obj>}"
autocmd FileType cmake let b:surround_{char2nr("v")} = "${\r}"
let b:surround_{char2nr("v")} = "${\r}"

View File

@ -10,9 +10,9 @@ setlocal tabstop=4 shiftwidth=4 softtabstop=4
" Custom surround for markdown link syntax.
" "ys{motion}l" makes link out of "word" -> "[word]()"
autocmd FileType markdown let b:surround_{char2nr("l")} = "[\r]()"
let b:surround_{char2nr("l")} = "[\r]()"
" "ys{motion}L" makes link out of "url" -> "[](url)"
autocmd FileType markdown let b:surround_{char2nr("L")} = "[](\r)"
let b:surround_{char2nr("L")} = "[](\r)"
finish " Experiment functionality (disabled). {{{