-
Show-parens-mode highlights the left parens when the cursor is resting on it in normal mode, but the right parens when the cursor is after it. This functionality makes sense in insert mode, but less in normal mode. I'd like to configure my emacs config to fix that. Does anyone have any suggestions? Disclaimer: I am 1 week new to emacs. |
Beta Was this translation helpful? Give feedback.
Answered by
eshrh
Apr 8, 2025
Replies: 1 comment 2 replies
-
I believe i know what you're talking about... I use the advice snippet from the first answer. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That seems much harder to accomplish, since I assume all the cursor display logic is done in C rather than elisp. You probably just need to get used to remembering that your cursor is to the left of your block, and that the cursor doesn't change at all when you switch modes. People coming from vim (including me ~5-6 years ago) are often confused about that vim quirk; vim changes the cursor behavior based on the cursor display (when block, the cursor is on a character rather than in between a character), I think one could argue that is more inconsistent. Also, thanks!
Interesting reading: https://www.dr-qubit.org/Evil_cursor_model.html
Meow avoids all this complexity and doesn't hack aroun…