Skip to content

fix!: use g~ over ~#694

Merged
stevearc merged 1 commit intostevearc:masterfrom
seblyng:fix-mapping
Dec 20, 2025
Merged

fix!: use g~ over ~#694
stevearc merged 1 commit intostevearc:masterfrom
seblyng:fix-mapping

Conversation

@seblyng
Copy link
Contributor

@seblyng seblyng commented Dec 6, 2025

I am opening a PR to see if you are open to this. This will essentially be a breaking change, but I have seen a couple of issues around this, and also that you have regretted the decision to use ~ as a mapping.

Specifically for me, it was kind of annoying that <C-l> and <C-h> was mapped by default since I have those mapped to <C-w>l and <C-w>h

which I also would say are quite regular default mappings

Let me know what you think about this! Hope you can consider!

@github-actions github-actions bot requested a review from stevearc December 6, 2025 10:41
@seblyng seblyng changed the title fix!: avoid overriding default keymaps and use g~ over ~ fix!: avoid overriding global keymaps and use g~ over ~ Dec 6, 2025
@seblyng
Copy link
Contributor Author

seblyng commented Dec 6, 2025

Hmm okay, the maparg thing didn't seem to work as I wanted, so I will revert that. Hope you will consider the ~ mapping though

@seblyng seblyng changed the title fix!: avoid overriding global keymaps and use g~ over ~ fix!: use g~ over ~ Dec 6, 2025
@stevearc
Copy link
Owner

Yeah, you know this really was an unfortunate choice and we should fix it. I don't think this will be a disruptive change for most people, and it's quite easy to add the old keybinding if people miss it, so I don't think I'll even mark this as a breaking change. Thanks for making the push for this!

@stevearc stevearc merged commit 15a2b21 into stevearc:master Dec 20, 2025
9 of 10 checks passed
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.

2 participants