zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
21.02k stars 641 forks source link

custom keymap don't update in suggestions bar #2463

Open Kevin-Delnoije opened 1 year ago

Kevin-Delnoije commented 1 year ago

Basic information

zellij --version: 0.36

Further information hey, i remapped ctrl+p to ctrl+a for going from normal to pane mode. in the keymapping section at the bottom it still suggests pressing ctrl+p for pane mode. it would be cool if custom key mapping display in keybindings at the bottom (perhaps with a slightly different color)

ayax79 commented 1 year ago

I am seeing this too.. However, what I am seeing is it randomly shows the correct key and randomly shows the default. In my case I mapped all the mode keybindings to F keys to avoid conflicting with my neovim keybindings.

zellij version: 0.38.0 My keybindings can be found here

ayax79 commented 1 year ago

Here you can see some of the keybindings showing the correct key, and some showing the default:

Screenshot 2023-08-30 at 10 50 00
ayax79 commented 1 year ago

It also seems like the default keybinding doesn't actually unbind even when I explicitly use an unbind at the top of the file. The new keybinding does work though.

nicmue commented 1 year ago

It also seems like the default keybinding doesn't actually unbind even when I explicitly use an unbind at the top of the file. The new keybinding does work though.

Unbinding in global scope worked for me. Thanks merikan: https://github.com/zellij-org/zellij/issues/2356#issuecomment-1503108603:

keybinds {
    // global
    unbind "Ctrl q"
ayax79 commented 1 year ago

It also seems like the default keybinding doesn't actually unbind even when I explicitly use an unbind at the top of the file. The new keybinding does work though.

Unbinding in global scope worked for me. Thanks merikan: #2356 (comment):

keybinds {
    // global
    unbind "Ctrl q"

It's working inconsistently for me.. I have more than one global unbind though.