1

I prefer to work without a mouse. This means I prefer to use PageUp and PageDown instead of the scroll wheel.

This works fine, except in the gnome terminal. I need to use shift-pageUp/Down there.

I would like to have one way to scroll-up and down.

In vscode terminal it was easy. I just needed to change the keyboard shortcuts.

But how to change config for the gnome-terminal, so that the PageUp key works (without the Shift key)?

Related: https://github.com/guettli/ten-flying-fingers

guettli
  • 1,765

1 Answers1

0

In VTE-based terminals, including GNOME Terminal, Shift+PageUp and Shift+PageDown are hardcoded and cannot be modified without touching the source code.

Plain PageUp and PageDown keys report this keypress towards the application running inside, e.g. bash, vim etc., so that they can handle it the way they wish.

You need to modify VTE's source, or use a different terminal emulator that allows to configure it. Or get used to this hardcoded behavior and adjust your workflow, including the possibility of using less as suggested in an already linked post.

egmont
  • 8,990
  • 1
  • 34
  • 47