I am trying to make Cc pass directly to terms in Emacs (as opposed to having to enter Cc Cc). I have a function defined:
(defun newterm () (Interactive) (term "/ bin / bash") (Rename-uniquely) (term-set-escape-char? \ Cx) (local-unset-key? \ Cc))
This successfully sets the escape character for Cx (which I need), but I can't get Emacs to not write Cc.
It may not be possible to disable it, but is it possible to install Cc to just put Cc in the terminal?
By default, it makes no sense to me - I type Cc all the time in the terminal, and the only Emacs command that I ever run when I am in the terminal is Cx b to go to another buffer.
source
share