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 mode's = only indents first line in visual mode #583

Open
dhalilov opened this issue Mar 17, 2025 · 0 comments
Open

Vim mode's = only indents first line in visual mode #583

dhalilov opened this issue Mar 17, 2025 · 0 comments
Labels
bug Something isn't working. editor Related to the text/markup editor. vim How do I get out of here?

Comments

@dhalilov
Copy link

Description

Hi folks,

Using vim mode, if you select multiple lines through either visual mode, visual line mode, or visual block mode, then ='s automatic indentation will only indent the first line instead of the whole block.

Reproduction

Paste the following snippet:

[
"Hello",
"world"
]

Then select the two lines containing "Hello" and "world", and press =. Only "Hello" gets indented.

Reproduction URL

No response

Browsers

No response

OS

No response

@dhalilov dhalilov added the bug Something isn't working. label Mar 17, 2025
@laurmaedje laurmaedje added vim How do I get out of here? editor Related to the text/markup editor. labels Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. editor Related to the text/markup editor. vim How do I get out of here?
Projects
None yet
Development

No branches or pull requests

2 participants