making it easier to open the session drawer in Termux in right-handed one-handed mode
*Termux has a session drawer - a place to switch between open terminal sessions. You access it by swiping right from the left of the screen.
I was finding it hard to open the session drawer when using the phone in right-handed one-handed mode.
Termux has this notion of extra-keys - a layer of extra keys useful for operations in a terminal.
Helpfully, the keys in that layer are configurable, and also helpfully, one special key that you can add is DRAWER, which opens up the session drawer.
The extra keys layer is already quite full of keys, and I couldn't figure which one to get rid of. So helpfully again, you can stack keys on top of each other, accessible with a swipe up from the base extra key.
You need to edit ~/termux/termux.properties.
Here's my config for that below:
### Two rows with more keys extra-keys = [['ESC','/','-','HOME','UP','END', {key: PGUP, popup: ESC}], \ ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT', {key: PGDN, popup:DRAWER}]]
I've added DRAWER to PGUP, and I've also added ESC as a swipe from PGUP too, to get easier access to that too.
1. References
2. Elsewhere
2.1. In my garden
Notes that link to this note (AKA backlinks).