Awesome
rl_custom_rime
Rime for readline. For all programs depending on readline:
- bash without ble.sh
- python without ptpython, ipython, ...
- tclsh/wish with tclreadline
- lua with luaprompt
- perl with reply
- sdcv
- ...
Install
AUR
paru -S rl_custom_rime
Build
xmake
Dependence
/etc/ld.so.preload
:
/usr/$LIB/librl_custom_function.so
See shell.nix.
Configure
$include function rl_custom_rime /the/path/of/librl_custom_rime.so
"\C-^": rl_custom_rime
Todo
<!-- markdownlint-disable-next-line MD033 -->- Support more special keys: <kbd>Up</kbd>, <kbd>Del</kbd>, <kbd>F1</kbd>, ...
- Pass hotkeys to readline directly when menu is empty