-
-
Notifications
You must be signed in to change notification settings - Fork 446
Open
pilgrimlyieu/vim-surround
#1Description
I'm trying to setup handling for smart (curly) quotes. I first tried it with just vim-surround
, then found vim-textobj-quote
but ran into the same problem. Now I've come back and realized this may be an issue with this plugin.
So lets say I try using q
and j
for single and double curly quote pairs:
let g:surround_106 = "‘\r’"
let g:surround_113 = "“\r”"
This creates a mapping that seems to work to create surround objects but it doesn't allow matching existing ones: given "this‸ string"
, typing cs"q
will produce “this‸ string”
but given “this‸ string”
and typing commands that should match those such as dsq
or csq(
do nothing.
Am I doing something wrong or is there a bug here somewhere? I'm in NeoVim 0.1.4 if it matters.
Metadata
Metadata
Assignees
Labels
No labels