How do I bind a key sequence to toggle between term-char-mode and term-line-mode (using multi-term)?

There doesn't seem to be a term-char-minor-mode-map and a -line- that could be used for this purpose.

(define-key term-raw-map (kbd "H-j") 'term-line-mode)
(define-key term-mode-map (kbd "H-j") 'term-char-mode)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.