Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evil-org-end-of-line broken in visual block mode #50

Open
betaprior opened this issue Nov 8, 2018 · 2 comments
Open

evil-org-end-of-line broken in visual block mode #50

betaprior opened this issue Nov 8, 2018 · 2 comments
Labels

Comments

@betaprior
Copy link

Default vim/EVIL behavior: given the text

foo
foo asdfsadf bar
baz

The following sequence of actions will add " hello" to every line.

  1. 0 (go to the beginning of the line)
  2. C-v (start visual block mode)
  3. $ (go to the end of the line)
  4. 2j (select 3 lines in visual block mode)
  5. A
  6. " hello"
  7. ESC

However, in org mode with evil-org-mode activated this is broken because $ is bound to evil-org-end-of-line.
Binding it to evil-end-of-line restores correct behavior.

@iliakur
Copy link

iliakur commented Sep 21, 2019

I think I have a related problem:

When soft-wrapping lines (in my case with olivetti-mode), evil-org-end-of-line will go to the end of the visual line, not the actual one. evil-end-of-line behaves as expected.

@Somelauw Somelauw added the bug label Dec 22, 2020
@Somelauw
Copy link
Owner

@betaprior This is kind of intended, because $ goes to the end of visual line. Maybe pressing $ twice should go to the real end, but $ is already kind of overloaded for headings. I don't think I see a another way to fix this, other then unmapping $ and losing some other functionality.

@Somelauw Somelauw added wontfix and removed bug labels Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants