reddit / emacs

How to spawn external terminal in exwm?

Equal-Jelly-3543 · 2022-11-28 19:26
In internal emacs terminals ncurses programs doesn't work. ​ I mean spawn by keyboard, not S-& and then type.
MitchellMarquez42 · 2022-11-28 20:33
You'd have to create a keybinding. In your init file, add something like this: ``` (defun my-exwm-exterm () (interactive) (async-shell-command "xterm")) (define-key 'exwm-mode-map (kbd "C-M-t") 'my-exwm-exterm) ``` That probably needs tweaking, but it's a start.