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

Implement indent-aware delete #1120

Merged
merged 2 commits into from
Nov 18, 2021
Merged

Implement indent-aware delete #1120

merged 2 commits into from
Nov 18, 2021

Conversation

WindSoilder
Copy link
Contributor

Handle part of #1046

In detail, the backspace behavior is more likely on vscode.

Given the following example:

    this is     def

If we enter backspace on the cursor right before t, the line will dedent, if we enter on the cursor right before d, it will just move back by one character.

@WindSoilder WindSoilder changed the title delete character backward can make dedent behavior Implement indent-aware delete Nov 17, 2021
helix-term/src/commands.rs Outdated Show resolved Hide resolved
helix-term/src/commands.rs Outdated Show resolved Hide resolved
helix-term/src/commands.rs Outdated Show resolved Hide resolved
helix-term/src/commands.rs Outdated Show resolved Hide resolved
@archseer archseer merged commit 5959356 into helix-editor:master Nov 18, 2021
@sudormrfbin sudormrfbin mentioned this pull request Nov 18, 2021
2 tasks
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.

3 participants