Skip to content

helix: Drop back to normal mode after yanking in select mode#38133

Merged
kubkon merged 2 commits intomainfrom
helix-yank-select-to-normal
Sep 14, 2025
Merged

helix: Drop back to normal mode after yanking in select mode#38133
kubkon merged 2 commits intomainfrom
helix-yank-select-to-normal

Conversation

@kubkon
Copy link
Member

@kubkon kubkon commented Sep 14, 2025

Follow-up to #38117. @romaninsh I'd appreciate if you could have a look :-)

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Sep 14, 2025
}

// Drop back to normal mode after yanking
vim.mode = Mode::HelixNormal;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my only comment is that we might need to use self.switch_mode(Mode::HelixNormal, true, window, cx) here for consistency.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@kubkon kubkon enabled auto-merge (squash) September 14, 2025 15:34
@kubkon kubkon merged commit 85aa458 into main Sep 14, 2025
21 checks passed
@kubkon kubkon deleted the helix-yank-select-to-normal branch September 14, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants