2022-01-29 22:53:29 -08:00
|
|
|
### After making changes and saving you need to run `termux-reload-settings`
|
|
|
|
### to update the terminal. All information here can also be found on the
|
|
|
|
### wiki: https://wiki.termux.com/wiki/Touch_Keyboard
|
|
|
|
|
|
|
|
extra-keys = [ \
|
2022-04-13 17:03:39 -07:00
|
|
|
[{key: 'ESC', popup: {macro: "iiii ESC : zvm_vi_substitute_whole_line ENTER", display: "<ESC-S>"}},{key: '-', popup: '_'},{key: '/', popup: '\\\\'},{key: '|', popup: '_'},{key: 'HOME', popup: '['},{key: 'UP', popup: 'KEYBOARD'},{key: 'END', popup: ']'},'BKSP',{key: 'DEL', popup: 'ESC'}], \
|
2022-02-17 18:32:51 -08:00
|
|
|
['TAB',{key: ':', popup: {macro: "ESC : w q ENTER", display: "vim exit"}},{key: 'CTRL', popup: {macro: 'CTRL c', display: '<C-c>'}},{key: '=', popup: {key: '~'}},{key: 'LEFT', popup: '{'},{key: 'DOWN', popup: 'TAB'},{key: 'RIGHT', popup: '}'},{key: "'", popup: '"'},{key: 'ENTER', popup: {macro: 'ESC S todo ENTER', popup: 'todo'}}] \
|
2022-01-29 22:53:29 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
# remove home and end, move control and alt to the left
|
|
|
|
|
2022-02-17 11:00:24 -08:00
|
|
|
allow-external-apps = true
|
2022-01-29 22:53:29 -08:00
|
|
|
|
|
|
|
###############
|
|
|
|
# Extra keys
|
|
|
|
###############
|
|
|
|
|
|
|
|
|
|
|
|
### Settings for choosing which set of symbols to use for illustrating keys.
|
|
|
|
### Choose between default, arrows-only, arrows-all, all and none
|
|
|
|
# extra-keys-style = default
|
|
|
|
|
|
|
|
### Default extra-key configuration
|
|
|
|
# extra-keys = [[ESC, TAB, CTRL, ALT, {key: '-', popup: '|'}, DOWN, UP]]
|
|
|
|
|
|
|
|
### Two rows with more keys
|
|
|
|
# extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'], \
|
|
|
|
# ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']]
|
|
|
|
|
|
|
|
### Configuration with additional popup keys (swipe up from an extra key)
|
|
|
|
# extra-keys = [[ \
|
|
|
|
# {key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \
|
|
|
|
# {key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \
|
|
|
|
# {key: ALT, popup: {macro: "CTRL f TAB", display: "tmux →"}}, \
|
|
|
|
# {key: TAB, popup: {macro: "ALT a", display: A-a}}, \
|
|
|
|
# {key: LEFT, popup: HOME}, \
|
|
|
|
# {key: DOWN, popup: PGDN}, \
|
|
|
|
# {key: UP, popup: PGUP}, \
|
|
|
|
# {key: RIGHT, popup: END}, \
|
|
|
|
# {macro: "ALT j", display: A-j, popup: {macro: "ALT g", display: A-g}}, \
|
|
|
|
# {key: KEYBOARD, popup: {macro: "CTRL d", display: exit}} \
|
|
|
|
# ]]
|
|
|
|
|
|
|
|
###############
|
|
|
|
# Colors/themes
|
|
|
|
###############
|
|
|
|
|
|
|
|
### Force black colors for drawer and dialogs
|
|
|
|
# use-black-ui = true
|
|
|
|
|
|
|
|
###############
|
|
|
|
# Keyboard shortcuts
|
|
|
|
###############
|
|
|
|
|
|
|
|
### Open a new terminal with ctrl + t (volume down + t)
|
|
|
|
# shortcut.create-session = ctrl + t
|
|
|
|
|
|
|
|
### Go one session down with (for example) ctrl + 2
|
|
|
|
# shortcut.next-session = ctrl + 2
|
|
|
|
|
|
|
|
### Go one session up with (for example) ctrl + 1
|
|
|
|
# shortcut.previous-session = ctrl + 1
|
|
|
|
|
|
|
|
### Rename a session with (for example) ctrl + n
|
|
|
|
# shortcut.rename-session = ctrl + n
|
|
|
|
|
|
|
|
###############
|
|
|
|
# Bell key
|
|
|
|
###############
|
|
|
|
|
|
|
|
### Vibrate device (default).
|
|
|
|
# bell-character = vibrate
|
|
|
|
|
|
|
|
### Beep with a sound.
|
|
|
|
# bell-character = beep
|
|
|
|
|
|
|
|
### Ignore bell character.
|
|
|
|
# bell-character = ignore
|
|
|
|
|
|
|
|
###############
|
|
|
|
# Back key
|
|
|
|
###############
|
|
|
|
|
|
|
|
### Send the Escape key.
|
|
|
|
# back-key=escape
|
|
|
|
|
|
|
|
### Hide keyboard or leave app (default).
|
|
|
|
# back-key=back
|
|
|
|
|
|
|
|
###############
|
|
|
|
# Keyboard issue workarounds
|
|
|
|
###############
|
|
|
|
|
|
|
|
### Letters might not appear until enter is pressed on Samsung devices
|
|
|
|
# enforce-char-based-input = true
|
|
|
|
|
|
|
|
### ctrl+space (for marking text in emacs) does not work on some devices
|
|
|
|
# ctrl-space-workaround = true
|