Somelauw / evil-org-mode

Supplemental evil-mode keybindings to emacs org-mode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Wrong behavior for C-v and $

WhatDothLife opened this issue · comments

Consider the following excerpt from an org file:
medium line
much longer line
short line

When I enter the visual block selection in the first line, move two lines down and then press $, only a rectangular region is marked instead of until the end of all three lines.

This is a different behavior compared to the one implemented in evil and vim.

I agree the behaviour is different from pure vim/evil. I mostly try to combine the best of both worlds, for example I works different from evil when org-special-ctrl-a/e is true. $ also has some differences and by default works on visual line.

Do you think the evil behaviour (selection all lines) is strictly better and needs to select the whole line?

I think it would be more consistent to stick with the default behavior of $. To select visual lines there is still g$ to achieve the desired behavior.

Also, pressing C-v and moving two lines down and three chars to the right, results in the selection seen below. What is the reason for this behavior?
evil-org