add termux configuration from phone
This commit is contained in:
parent
52c490dcea
commit
cd550ba6e6
5 changed files with 158 additions and 4 deletions
97
.config/termux/termux.properties
Executable file
97
.config/termux/termux.properties
Executable file
|
@ -0,0 +1,97 @@
|
|||
### 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 = [ \
|
||||
[{key: 'ESC', popup: {macro: "ESC S", display: "<ESC-S>"}},{key: '-', popup: '_'},{key: '/', popup: '\\\\'},{key: '|', popup: '_'},{key: 'HOME', popup: '['},{key: 'UP', popup: 'KEYBOARD'},{key: 'END', popup: ']'},'BKSP',{key: 'DEL', popup: 'ESC'}], \
|
||||
['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'}}] \
|
||||
]
|
||||
|
||||
# remove home and end, move control and alt to the left
|
||||
|
||||
|
||||
###############
|
||||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue