Open
Description
Hi, thanks for the very convenient package. I find an issue when using it in org-mode.
I have (setq org-hide-emphasis-markers t)
in my config.
Sample settings:
(use-package mwim
:bind (("C-a" . mwim-beginning-of-line-or-code)
("C-e" . mwim-end-of-line-or-code)))
(setq org-hide-emphasis-markers t)
Reproduce steps:
- Create an empty org-mode buffer, and press RET to create some new lines.
- Move the cursor to any previous line to ensure there are at least one line below.
- At the end of current line, enter
~some text*~
(*
denote cursor. Note that the markers are hidden at this moment. - Call
mwim-end-of-line-or-code
or other variants to move to end of line.
Now, the cursor is moved to beginning of next line.
I do this because this is my workflow when typing and use smartparens
to auto insert ~~
and type texts then move out of the markup area to continue typing.