let g:targets_quotes = '$d'
let g:operator#surround#blocks =\ {
\ '-' : [
\ { 'block' : ['(', ')'], 'motionwise' : ['char', 'line', 'block'], 'keys' : ['(', ')', 'b'] },
\ { 'block' : ['{', '}'], 'motionwise' : ['char', 'line', 'block'], 'keys' : ['{', '}', 'B'] },
\ { 'block' : ["$", "$"], 'motionwise' : ['char','line','block'], 'keys' : ['d'] },
\ ]\ }
Yes ${\alpha_\beta{Un^{-1}}^{m}}$ No
Error detected while processing function operator#surround#replace..operator#surround#delete..<SNR>294_delete_surround:
line 31:
E54: Unmatched \(
For example, when using
targets.vim(or user plug-ins providing a i/a$ text-object) withand using
then hitting
<Plug>(operator-surround-delete)aBwhen the cursor is between\alphaand\betaonproduces