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

Allow specifying no base keymap #9471

Merged
merged 5 commits into from
Mar 21, 2024

Conversation

zaucy
Copy link
Contributor

@zaucy zaucy commented Mar 18, 2024

This PR is a bit of a shot in the dark. I'm not sure if this will be acceptable and I understand if it gets rejected.

I've been trying to integrate Zed as my daily driver and the key bindings have been a major hurdle for me. Mostly due to the windows/linux keybindings being messed up, but also me wanting to have more chained key bindings similar to helix or common in custom neovim configurations.

I think having a None base keymap would allow someone to more easily implement a new base keymap (#4642) and would make my daily use of Zed a little nicer 😅.

Also I am aware that there would need to be a little more work done in this PR for the other base keymaps such as 'atom' since they assume the 'default' (vscode) base keymaps are loaded. I'm happy to do that work if a 'none' base keymap is acceptable.

Release Notes:

  • Added ability to specify no base keymap which allows for full keybinding customization

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 18, 2024
@zaucy zaucy marked this pull request as draft March 18, 2024 05:53
@mikayla-maki
Copy link
Contributor

I think this is something we'd be interested in :)

@zaucy zaucy force-pushed the base-keymap-none branch from f818d29 to ddde929 Compare March 20, 2024 02:52
@zaucy zaucy marked this pull request as ready for review March 20, 2024 03:27
@ConradIrwin
Copy link
Member

Otherwise this seems good to me, thanks!

@zaucy zaucy requested a review from ConradIrwin March 20, 2024 05:44
@ConradIrwin ConradIrwin merged commit 9b0949b into zed-industries:main Mar 21, 2024
8 checks passed
@zaucy zaucy deleted the base-keymap-none branch March 21, 2024 03:24
pjlast pushed a commit to pjlast/zed that referenced this pull request Mar 26, 2024
This PR is a bit of a shot in the dark. I'm not sure if this will be
acceptable and I understand if it gets rejected.

I've been trying to integrate Zed as my daily driver and the key
bindings have been a major hurdle for me. Mostly due to the
windows/linux keybindings being messed up, but also me wanting to have
more chained key bindings similar to helix or common in custom neovim
configurations.

I think having a `None` base keymap would allow someone to more easily
implement a new base keymap (zed-industries#4642) and would make my daily use of Zed a
little nicer 😅.

Also I am aware that there would need to be a little more work done in
this PR for the other base keymaps such as 'atom' since they assume the
'default' (vscode) base keymaps are loaded. I'm happy to do that work if
a 'none' base keymap is acceptable.

Release Notes:

- Added ability to specify no base keymap which allows for full
keybinding customization
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.

3 participants