Question: make evil not to touch whitespace for deleting quotes
- Dominant language
- Emacs Lisp
- Stars
- 3.9k
- Forks
- 307
- PR merge metrics
- No merged PRs in 30d
Description
Consider this code:
const char mytext[] = ;
//[snip]
"some text in a designated initializer",
da"ing quoted text, and pasting after the "mytext[]" results in:
const char mytext[] = "some text in a designated initializer";
//[snip]
,
This might even get hilarious, consider the following text in either text-mode or markdown-mode *(or, I think, any markup mode)*:
text1: "text2"
# New paragraph
Deleting `"test2"` with the quotes results in this:
text1: # New paragraph
I have no idea how could I not notice it, but this seems to copy vim behavior. [Acc. to this question](https://superuser.com/questions/537453/vim-copy-quoted-string-without-whitespace) workaround is using 2di", works for me.
**My question**: is there a way to rebind all of \a\ to behave like 2\i\?
Contributor guide
Assessment
This issue has not been assessed yet.