3 ms·
All I need is a way to call elisp functions from the touch bar.
by na85 8y ago
All I need is a way to call elisp functions from the touch bar.
- roryokane 8y agoYou can define custom touch bar buttons with BetterTouchTool (https://folivora.ai/ https://folivora.ai/), and configure them to run a custom shell script. There is probably some way to call Emacs functions via shell script. However, be warned, BTT’s interface is messy and the buttons it creates don’t look right unless you manually adjust the styling yourself. Also, macOS won’t show BTT’s buttons unless you either allow BTT to take over your whole Touch Bar, hiding Apple’s global buttons, or you expand the BTT toolbar beforehand, which must be closed before you next try to press the Esc key.