Created
June 8, 2024 12:27
-
-
Save iacchus/23160be78accc34dc04f222abbd211d9 to your computer and use it in GitHub Desktop.
termux keyboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Configuration with additional popup keys (swipe up from an extra key) | |
extra-keys = [ \ | |
[ \ | |
{key: ESC, display: ""}, \ | |
{key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \ | |
{key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \ | |
{macro: "ESC :q ENTER", display: ":q", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: ",t", display: "tree", popup: {macro: ", n", display: "focus"}}, \ | |
{macro: 'y :%s/ CTRL r " //gic LEFT LEFT LEFT LEFT', display: ":%s"}, \ | |
{macro: "exa SPACE --long SPACE --tree ENTER", display: "exa", popup: {macro: "lsd SPACE --long SPACE --tree ENTER", display: "lsd"}}, \ | |
{macro: 'CTRL r', display: "<C-r>"}, \ | |
{macro: "!$", display: "!$", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: "cd SPACE - ENTER", display: "-", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: "|", display: "|", popup: {macro: '"sy / CTRL r s ENTER', display: "search selection"}}, \ | |
{macro: "CTRL d", display: "<C-d>", popup: {macro: "ALT g", display: A-g}}, \ | |
{key: TAB, popup: {macro: "ALT a", display: A-a}}, \ | |
{key: UP, display: "", popup: {macro: ",h", display: "buffp"}}, \ | |
{key: UP, popup: {macro: "CTRL u", display: "<C-u>"}}, \ | |
{key: UP, display: "", popup: {macro: ",l", display: "buffn"}}, \ | |
{key: UP, display: "", popup: {macro: ",l", display: "buffn"}} \ | |
], \ | |
[ \ | |
{key: KEYBOARD, display: ""}, \ | |
{key: KEYBOARD, popup: {macro: "CTRL d", display: exit}}, \ | |
{key: ALT, popup: {macro: "CTRL f TAB", display: "tmux →"}}, \ | |
{macro: "ESC :w ENTER", display: ":w", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: "CTRL o d", display: "dtx", popup: {macro: "CTRL p n", display: "newpn"}}, \ | |
{macro: 'mosh SPACE --predict=always SPACE homeserver ENTER', display: "MOSH", \ | |
popup: {macro: 'ssh SPACE homeserver ENTER', display: "SSH"}}, \ | |
{macro: "ranger ENTER", display: "rngr", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: "termux-open SPACE TAB", display: "open", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: "cd SPACE ~ ENTER", display: "~", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: "cd SPACE .. ENTER", display: "..", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: "/", display: "/", popup: {macro: '"sy / CTRL r s ENTER', display: "search selection"}}, \ | |
{macro: "CTRL c", display: "<C-c>", popup: {macro: "ALT g", display: A-g}}, \ | |
{key: ENTER}, \ | |
{key: LEFT, popup: {macro: "ALT h", display: "buffp"}}, \ | |
{key: DOWN, popup: {macro: "CTRL d", display: "<C-d>"}}, \ | |
{key: RIGHT, popup: {macro: "ALT l", display: "buffn"}}, \ | |
{key: RIGHT, display: "", popup: {macro: ",l", display: "buffn"}} \ | |
] \ | |
] |
Author
iacchus
commented
Jun 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment