You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C-p and C-n used to scroll to/from prior input, the same as they do in many (maybe most?) other applications.
Now C-p seems to make some sort of menu pop up. This is surprising unexpected behaviour. C-n does not seem like it does anything now.
Please allow some way to restore the prior behaviour of these keys for those of us who prefer constant key bindings across the applications we use, having to retrain muscle memory to deal with one particular application's inconsistent, non-standard keybinding choices adds quite a cognitive load when trying to use the application.
OpenCode version
1.0.2
Steps to reproduce
Hit C-p and be startled and confused when a menu appears.
Hit C-n and be startled and confused when nothing happens.
Agreed! ctrl+p and ctrl+n are really useful defaults that I was using too. Especially for terminal-centric people. Please make them work as up and down again.
And I liked that all "open code" specific bindings had that ctrl+x prefix like emacs.
not sure how we'll rework defaults but i added keybinds for history_next and history_previous so you can override. can change the one for command_list too
Super, awesome! I'm not too concerned about what the default is as long as it can be overridden, always happy to override stuff to suit my preferences in my own config.
not sure how we'll rework defaults but i added keybinds for history_next and history_previous so you can override. can change the one for command_list too
I encountered a bug trying to use ctrl+n for history_next:
Activity
github-actions commentedon Oct 31, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
alanxoc3 commentedon Oct 31, 2025
Agreed! ctrl+p and ctrl+n are really useful defaults that I was using too. Especially for terminal-centric people. Please make them work as up and down again.
And I liked that all "open code" specific bindings had that ctrl+x prefix like emacs.
alanxoc3 commentedon Oct 31, 2025
looks like this case has duplicates according to github actions
thdxr commentedon Oct 31, 2025
not sure how we'll rework defaults but i added keybinds for history_next and history_previous so you can override. can change the one for command_list too
ariane-emory commentedon Oct 31, 2025
Super, awesome! I'm not too concerned about what the default is as long as it can be overridden, always happy to override stuff to suit my preferences in my own config.
jdanbrown commentedon Nov 3, 2025
I encountered a bug trying to use
ctrl+nforhistory_next: