New answers tagged

0

Something like this in your ~/.emacs will leave the terminal foreground and background untouched, i. e. emacs will use your terminal colors: (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such ...


0

You can also use custom-set-faces to just NOT set properties when using a tty, and then have other defaults for other types. With the following, the default face gets foreground and background set unless the display type is tty, as it is when you run emacs -nw. For some other things, I generally like the defaults, especially when using X11. I override a ...


0

Inspired from @ubolonton's answer, I was able to bind Super and Hyper (and add a supplementary Meta key) in urxvt with those 4 lines of ~/.Xdefaults: URxvt.keysym.XF86AudioPlay: string:\030@m URxvt.keysym.Menu: string:\030@s URxvt.keysym.Muhenkan: string:\030@h and out of luck I dind't had to touch anything else to make it work. Explanation: On my keyboard (...


0

Hope the answer is still relevant. If you are running Emacs in GNU OS, you can paste the contents of the clipboard (if properly configured; more information: (info "Clipboard")) in a term mode buffer (e.g. "*terminal*" buffer) in Emacs if you press <S-insert> (Shift key + Insert key) which is bound to the function "term-paste&...


Top 50 recent answers are included