]> git.sev.monster Git - dotfiles.git/blame_incremental - termux/termux.properties
make key handling and logout more robust
[dotfiles.git] / termux / termux.properties
... / ...
CommitLineData
1### After making changes and saving you need to run `termux-reload-settings`
2### to update the terminal. All information here can also be found on the
3### wiki: https://wiki.termux.com/wiki/Terminal_Settings
4
5###############
6# General
7###############
8
9### Allow external applications to execute arbitrary commands within Termux.
10### This potentially could be a security issue, so option is disabled by
11### default. Uncomment to enable.
12# allow-external-apps = true
13
14### Default working directory that will be used when launching the app.
15# default-working-directory = /data/data/com.termux/files/home
16
17### Uncomment to disable toasts shown on terminal session change.
18# disable-terminal-session-change-toast = true
19
20### Uncomment to not show soft keyboard on application start.
21# hide-soft-keyboard-on-startup = true
22
23### Uncomment to let keyboard toggle button to enable or disable software
24### keyboard instead of showing/hiding it.
25# soft-keyboard-toggle-behaviour = enable/disable
26
27### Adjust terminal scrollback buffer. Max is 50000. May have negative
28### impact on performance.
29# terminal-transcript-rows = 2000
30
31### Uncomment to use volume keys for adjusting volume and not for the
32### extra keys functionality.
33# volume-keys = volume
34
35###############
36# Fullscreen mode
37##############
38
39### Uncomment to let Termux start in full screen mode.
40fullscreen = true
41
42### Uncomment to attempt workaround layout issues when running in
43### full screen mode.
44# use-fullscreen-workaround = true
45
46###############
47# Cursor
48###############
49
50### Cursor blink rate. Values 0, 100 - 2000.
51# terminal-cursor-blink-rate = 0
52
53### Cursor style: block, bar, underline.
54# terminal-cursor-style = block
55
56###############
57# Extra keys
58###############
59
60### Settings for choosing which set of symbols to use for illustrating keys.
61### Choose between default, arrows-only, arrows-all, all and none
62# extra-keys-style = default
63
64### Force capitalize all text in extra keys row button labels.
65# extra-keys-text-all-caps = true
66
67### Default extra-key configuration
68# extra-keys = [[ESC, TAB, CTRL, ALT, {key: '-', popup: '|'}, DOWN, UP]]
69extra-keys = [[ESC, TAB, CTRL, ALT, '/', '~']]
70
71### Two rows with more keys
72# extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'], \
73# ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']]
74
75### Configuration with additional popup keys (swipe up from an extra key)
76# extra-keys = [[ \
77# {key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \
78# {key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \
79# {key: ALT, popup: {macro: "CTRL f TAB", display: "tmux →"}}, \
80# {key: TAB, popup: {macro: "ALT a", display: A-a}}, \
81# {key: LEFT, popup: HOME}, \
82# {key: DOWN, popup: PGDN}, \
83# {key: UP, popup: PGUP}, \
84# {key: RIGHT, popup: END}, \
85# {macro: "ALT j", display: A-j, popup: {macro: "ALT g", display: A-g}}, \
86# {key: KEYBOARD, popup: {macro: "CTRL d", display: exit}} \
87# ]]
88
89### Another configuration with advanced popup key usage designed for more
90### specific use-cases. In this case, it is designed for working with Vim-like
91### editors for faster navigation
92#extra-keys = [ \
93# [ \
94# { key: ESC, popup: { macro: ":q\n", display: "QuickExit" } }, \
95# { key: '/', popup: '\\\\' }, \
96# { key: '-', popup: '_' }, \
97# { key: HOME, popup: { macro: "CTRL HOME", display: "Top" } }, \
98# { key: UP, popup: { macro: "CTRL UP", display: "UP" } }, \
99# { key: END, popup: { macro: "CTRL END", display: "End" } }, \
100# { key: ":", popup: ";" }, \
101# { key: "(", popup: "{" } \
102# ], \
103# [ \
104# { key: TAB, popup: { macro: ":wq\n", display: "Write And Exit" } }, \
105# { key: CTRL, popup: { macro: ":w\n", display: "Write" } }, \
106# ALT, \
107# { key: LEFT, popup: { macro: "CTRL LEFT", display: "Left" } }, \
108# { key: DOWN, popup: { macro: "CTRL DOWN", display: "Bottom" } }, \
109# { key: RIGHT, popup: { macro: "CTRL RIGHT", display: "Right" } }, \
110# { key: "#", popup: "$" }, \
111# { key: ")", popup: "}" } \
112# ] \
113#]
114
115###############
116# Colors/themes
117###############
118
119### Force black colors for drawer and dialogs
120# use-black-ui = true
121
122###############
123# HW keyboard shortcuts
124###############
125
126### Disable hardware keyboard shortcuts.
127# disable-hardware-keyboard-shortcuts = true
128
129### Open a new terminal with ctrl + t (volume down + t)
130# shortcut.create-session = ctrl + t
131
132### Go one session down with (for example) ctrl + 2
133# shortcut.next-session = ctrl + 2
134
135### Go one session up with (for example) ctrl + 1
136# shortcut.previous-session = ctrl + 1
137
138### Rename a session with (for example) ctrl + n
139# shortcut.rename-session = ctrl + n
140
141###############
142# Bell key
143###############
144
145### Vibrate device (default).
146# bell-character = vibrate
147
148### Beep with a sound.
149# bell-character = beep
150
151### Ignore bell character.
152# bell-character = ignore
153
154###############
155# Back key
156###############
157
158### Send the Escape key.
159# back-key=escape
160
161### Hide keyboard or leave app (default).
162# back-key=back
163
164###############
165# Keyboard issue workarounds
166###############
167
168### Letters might not appear until enter is pressed on Samsung devices
169# enforce-char-based-input = true
170
171### ctrl+space (for marking text in emacs) does not work on some devices
172# ctrl-space-workaround = true
This page took 0.031982 seconds and 4 git commands to generate.