Skip to content

Add new insertIndentation command used for the Tab key by default#411

Merged
heyman merged 2 commits intomainfrom
insert-indentation-command
Dec 21, 2025
Merged

Add new insertIndentation command used for the Tab key by default#411
heyman merged 2 commits intomainfrom
insert-indentation-command

Conversation

@heyman
Copy link
Copy Markdown
Owner

@heyman heyman commented Dec 21, 2025

insertIndentation inserts indentation character(s) (spaces or tabs depending on the setting) so that the cursor aligns with the indentation columns. Unless there is an active selection, in which case the indentMore command will be executed instead.

This should mimic the default behaviour of VSCode.

@heyman heyman merged commit 854dcc8 into main Dec 21, 2025
3 checks passed
@heyman heyman deleted the insert-indentation-command branch December 21, 2025 17:14
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

Successfully merging this pull request may close these issues.

FR: Tab inserts a tab character when in a plain text block instead of indenting whole line

1 participant