Closed PotatoesFall closed 1 year ago
I think you can do it by reading the first line :shushing_face:.
// If you'd like to override the default keybindings completely, be sure to change "keybinds" to "keybinds clear-defaults=true"
keybinds clear-defaults=true {
normal {
// […]
}
Using the clear-defaults=true
you don’t need to unbind every keys you rebind too. It should work for you since you looks to be rebinding a few keys differently than the default.
Note: if you know it but Ctrl + u
is "cut everything from my cursor position till the start of the line" in most shell. You can later past with Ctrl + y
. I also use it to "fix" when I don’t think I started a password right.
Woops, today I learned I can't read, my bad. thanks for the reply and the tips! Gonna see if I can get all the shortcuts rebound sensibly. Maybe I'll just have to rebind some helix keys.
Basic information
zellij --version
: 0.37.2stty size
: happens on all sizesuname -av
orver
(Windows): Linux {user} 6.4.10-100.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 11 15:18:39 UTC 2023 x86_64 x86_64 x86_64 GNU/LinuxList of programs you interact with as,
PROGRAM --version
: output cropped meaningful, for example:occurs on all programs, but I'm working with
problem also occurs in
foot
terminalFurther information
Hi! First of all thank you so much for all the hard work on zellij! <3 I'm just trying it and mostly really like it, just having trouble with some keybinding stuff since the default bindings clash with the helix editor.
I want to unbind
Ctrl o
since it conflicts with my helix hotkeys. I was successfully able to bindCtrl u
to the session shortcut, but was not able to unbindCtrl o
, as it is currently still intercepted by zellij for the session mode shortcut.I was previously able to successfully rebind
Ctrl h
toCtrl k
but the same method did not work here.Reproduction steps:
unbind "Ctrl o"
as top level item inkeybinds
"Ctrl h"
for me, but not"Ctrl o"
"Ctrl u"
"Ctrl o"
is in the entire config file<u>
as the shortcut for session modeCtrl o
here is my full config for completeness (with comments removed):