zellij-org / zellij

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

Being able to use the PageUp and PageDown keys with a modifier #3103

Open varaskkar opened 8 months ago

varaskkar commented 8 months ago

Hi again!

I was wondering if it'd be possible to use the key combinations Alt + PageUp and Alt + PageDown.

I thought that for my personal config it'd fit those keyboard shortcuts to scroll up and down (ScrollUp; and ScrollDown; actions).

keybinds {
    normal {
        bind "Alt PageUp" { ScrollUp; }
        bind "Alt PageDown" { ScrollDown; }
    }
}
cristiand391 commented 8 months ago

This isn't possible at the moment, see: https://zellij.dev/documentation/keybindings-keys

Aram has mentioned on Discord that he plans to work on supporting the keyboard kitty protocol, I think that will allow this scenario.