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

vim: block mode indent not working correctly #5392

Open
gtritchie opened this issue Nov 14, 2023 · 0 comments
Open

vim: block mode indent not working correctly #5392

gtritchie opened this issue Nov 14, 2023 · 0 comments

Comments

@gtritchie
Copy link
Contributor

Describe the bug

Visual block mode indentation in vim mode not behaving the same as vim.

Expected Behavior

This is what vim (and Monaco) do:

12        345
ab        cde

Current Behavior

It indents the entire lines:

    12345
    abcde

Reproduction Steps

With vim mode enabled:

  • i then type 12345[Return]abcde so it looks like this:
12345
abcde
  • Esc for normal mode then move cursor to the c character
  • Ctrl+v for visual block mode
  • k to go up a line
  • > to indent

Possible Solution

No response

Additional Information/Context

No response

Ace Version / Browser / OS / Keyboard layout

1.31.1 / Chrome / any OS / vim

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

No branches or pull requests

2 participants