Add first gist with Termux keys geared towards Emacs usage

This commit is contained in:
Bram Schoenmakers 2022-11-23 15:09:27 +01:00
commit 45d48102c1
3 changed files with 36 additions and 0 deletions

1
README.org Normal file
View File

@ -0,0 +1 @@
Gists referred from my Mastodon account (@bram85@emacs.ch).

24
gists.org Normal file
View File

@ -0,0 +1,24 @@
#+title: Gists by bram85
#+PROPERTY: header-args :mkdirp yes
#+begin_src org :tangle README.org
Gists referred from [[https://emacs.ch/@bram85][@bram85@emacs.ch]].
#+end_src
* Termux keys
Put this in ~/.termux/termux.properties for a better Emacs experience inside Termux.
#+begin_src conf :tangle gists/termux-emacs-keys.conf
extra-keys = [[ \
{key: ESC, popup: {macro: "CTRL g", display: "C-g"}}, \
{key: CTRL, popup: {macro: "CTRL x", display: "C-x"}}, \
{key: ALT, popup: {macro: "ALT x", display: "M-x"}}, \
{key: TAB}, \
{key: DEL, popup: {macro: "CTRL k", display: C-k}}, \
{key: LEFT, popup: HOME}, \
{key: DOWN, popup: PGDN}, \
{key: UP, popup: PGUP}, \
{key: RIGHT, popup: END} \
]]
#+end_src

View File

@ -0,0 +1,11 @@
extra-keys = [[ \
{key: ESC, popup: {macro: "CTRL g", display: "C-g"}}, \
{key: CTRL, popup: {macro: "CTRL x", display: "C-x"}}, \
{key: ALT, popup: {macro: "ALT x", display: "M-x"}}, \
{key: TAB}, \
{key: DEL, popup: {macro: "CTRL k", display: C-k}}, \
{key: LEFT, popup: HOME}, \
{key: DOWN, popup: PGDN}, \
{key: UP, popup: PGUP}, \
{key: RIGHT, popup: END} \
]]