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

Incorrect range for the dot command for visual mode #149

Open
tomlu opened this issue Aug 29, 2012 · 0 comments
Open

Incorrect range for the dot command for visual mode #149

tomlu opened this issue Aug 29, 2012 · 0 comments

Comments

@tomlu
Copy link

tomlu commented Aug 29, 2012

To reproduce:

  • Select N > 1 lines of text
  • Press > to indent
  • Press . to repeat indent.

Outcome: Only the first line will indent
Expected outcome: All N lines will indent

IME (from implementing another Vim emulator) the dot command cannot be implemented simply by recording. Rather, some object representing the last change command needs to be stored. This object needs to store information about the selection that it operates on, including size and whether it's line mode or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant