0

I am using evil mode.

In org-mode files, when I try to delete a word with dw and the word starts with a \, the last letter of the word is not deleted. For example, if my cursor is on the b of \begin{section} and I type dw I get \n{section} instead of \{section}.

This happens only in org-mode (not in LaTeX or text files), but I can't figure out where in this comes from in my settings. Any idea?

1
  • I can't replicate the problem. Does it still happen if you start emacs without your init file via emacs -Q? If not, you'll need to recursively bisect your init file to isolate the problem. Commented Nov 19, 2021 at 17:35

1 Answer 1

1

Found it!

(global-superword-mode 1) is responsible for it.

1
  • Please accept your own answer so we can mark this question as answered. Commented Apr 19, 2022 at 17:29

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.