gists/gists.org
2022-11-23 17:18:43 +01:00

1.1 KiB

Gists by bram85

  Gists referred from [[https://emacs.ch/@bram85][@bram85@emacs.ch]].

Termux keys

Put this in ~/.termux/termux.properties for a better Emacs experience inside Termux.

  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} \
  ]]

Nesting with use-package

  (use-package foo)

  ;; only loads after foo has been loaded
  (use-package bar
    :after foo)