Skip to content

Allow specifying no base keymap - #9471

Merged
ConradIrwin merged 5 commits into
zed-industries:mainfrom
zaucy:base-keymap-none
Mar 21, 2024
Merged

Allow specifying no base keymap#9471
ConradIrwin merged 5 commits into
zed-industries:mainfrom
zaucy:base-keymap-none

Conversation

@zaucy

@zaucy zaucy commented Mar 18, 2024

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

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
Comment thread crates/welcome/src/base_keymap_setting.rs Outdated
Comment thread crates/zed/src/zed.rs
@ConradIrwin

Copy link
Copy Markdown
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
@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
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
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