challenges with key bindings #788

Closed
opened 2026-02-16 17:28:19 -05:00 by yindo · 12 comments
Owner

Originally created by @mschenk42 on GitHub (Jul 17, 2025).

Originally assigned to: @adamdotdevin on GitHub.

I'm struggling to use all the key bindings. Some work, like ctrl+x m and ctrl+x e, but many don't like searching with ctrl+x /. I've tried both the defaults and setting them in the config. I'm on MacOS using Ghostty for the terminal. I feel like I'm doing something wrong. This is probably a topic for a discussion thread.

Originally created by @mschenk42 on GitHub (Jul 17, 2025). Originally assigned to: @adamdotdevin on GitHub. I'm struggling to use all the key bindings. Some work, like ctrl+x m and ctrl+x e, but many don't like searching with ctrl+x /. I've tried both the defaults and setting them in the config. I'm on MacOS using Ghostty for the terminal. I feel like I'm doing something wrong. This is probably a topic for a discussion thread.
yindo closed this issue 2026-02-16 17:28:19 -05:00
Author
Owner

@robertshawjmark commented on GitHub (Jul 17, 2025):

I am experiencing the same, and I am also a MacOS and Ghostty user.
To test if can solely use control as my leader I used the following config.json;

{
  "$schema": "https://opencode.ai/config.json",
  "keybinds": {
    "leader": "ctrl",
    "editor_open": "<leader>e",
  }
}

However that does not work.
Please can you provide guidance on how to configure this properly?

@robertshawjmark commented on GitHub (Jul 17, 2025): I am experiencing the same, and I am also a MacOS and Ghostty user. To test if can solely use control as my leader I used the following config.json; ```json { "$schema": "https://opencode.ai/config.json", "keybinds": { "leader": "ctrl", "editor_open": "<leader>e", } } ``` However that does not work. Please can you provide guidance on how to configure this properly?
Author
Owner

@robertshawjmark commented on GitHub (Jul 30, 2025):

Sorry to pester here but can I get bump on this?
As it stands I can't copy a message to my clipboard which is a workflow pain.

@robertshawjmark commented on GitHub (Jul 30, 2025): Sorry to pester here but can I get bump on this? As it stands I can't copy a message to my clipboard which is a workflow pain.
Author
Owner

@mschenk42 commented on GitHub (Jul 30, 2025):

I have the same issues with the keymaps; however, you can copy with the mouse now. Select the text and release, and it will automatically copy to the clipboard. But I, too, am looking forward to the keymaps working with macOS.

@mschenk42 commented on GitHub (Jul 30, 2025): I have the same issues with the keymaps; however, you can copy with the mouse now. Select the text and release, and it will automatically copy to the clipboard. But I, too, am looking forward to the keymaps working with macOS.
Author
Owner

@cgilly2fast commented on GitHub (Jul 31, 2025):

On macos too, cant get any of them to work

@cgilly2fast commented on GitHub (Jul 31, 2025): On macos too, cant get any of them to work
Author
Owner

@adamdotdevin commented on GitHub (Jul 31, 2025):

trying to sort through the comments here. for starters, leader can't just be a modifier key, unfortunately. there's also likely drift between docs and keybinds that actually do anything today, as we've removed some features.

@adamdotdevin commented on GitHub (Jul 31, 2025): trying to sort through the comments here. for starters, leader can't just be a modifier key, unfortunately. there's also likely drift between docs and keybinds that actually do anything today, as we've removed some features.
Author
Owner

@mschenk42 commented on GitHub (Jul 31, 2025):

I think you're right, this is probably the main issue: documentation and what is displayed in help. Most of these keybindings work great. The ones that don't are the message navigation keybinds and file search (and maybe a few others). I discovered you can use @ to get a list of files and search. That works great.

Image
@mschenk42 commented on GitHub (Jul 31, 2025): I think you're right, this is probably the main issue: documentation and what is displayed in help. Most of these keybindings work great. The ones that don't are the message navigation keybinds and file search (and maybe a few others). I discovered you can use `@` to get a list of files and search. That works great. <img width="712" height="330" alt="Image" src="https://github.com/user-attachments/assets/baffc06d-6a74-4a2d-a9c8-0a4f69479be5" />
Author
Owner

@cgilly2fast commented on GitHub (Aug 16, 2025):

Keybinds for me still very broken for me, only ones that work at the / and @ command, and as of 5.3 I cant scroll anymore either

@cgilly2fast commented on GitHub (Aug 16, 2025): Keybinds for me still very broken for me, only ones that work at the / and @ command, and as of 5.3 I cant scroll anymore either
Author
Owner

@rekram1-node commented on GitHub (Aug 16, 2025):

@cgilly2fast plz update to latest to fix scroll bug, as for keybind issues we will look into those more for u

@rekram1-node commented on GitHub (Aug 16, 2025): @cgilly2fast plz update to latest to fix scroll bug, as for keybind issues we will look into those more for u
Author
Owner

@mschenk42 commented on GitHub (Aug 16, 2025):

I thought I was the only one having trouble scrolling, but I'm happy to report that it's working perfectly with the latest version!

@mschenk42 commented on GitHub (Aug 16, 2025): I thought I was the only one having trouble scrolling, but I'm happy to report that it's working perfectly with the latest version!
Author
Owner

@xyz-liu15 commented on GitHub (Aug 20, 2025):

Image

As you can see, I encountered an issue. I'm using Ubuntu in WSL2. And when I commented out the line where session_navigation is located, all shortcuts stopped working as well.

@xyz-liu15 commented on GitHub (Aug 20, 2025): <img width="1394" height="171" alt="Image" src="https://github.com/user-attachments/assets/12186cd2-529f-43e8-b27c-98c7c189848a" /> As you can see, I encountered an issue. I'm using Ubuntu in WSL2. And when I commented out the line where session_navigation is located, all shortcuts stopped working as well.
Author
Owner

@rekram1-node commented on GitHub (Aug 20, 2025):

@xyz-liu15 session_navigate isnt an actual keybind the docs were wrong and have since been fixed

the fact that no other bindings are working is separate tho we will fix that

@rekram1-node commented on GitHub (Aug 20, 2025): @xyz-liu15 session_navigate isnt an actual keybind the docs were wrong and have since been fixed the fact that no other bindings are working is separate tho we will fix that
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

@rekram1-node commented on GitHub (Dec 27, 2025): [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#788