]> gitweb.michael.orlitzky.com - emacs.d.git/blob - mode-hooks/multi-term-hooks.el
9b4f9637e30189923fe9b7284b3eda26f0de53b1
[emacs.d.git] / mode-hooks / multi-term-hooks.el
1 (defun mtm-hook()
2 ;; Pass through C-c, C-x, and M-x for emaception.
3 (delete "C-x" term-unbind-key-list)
4 (delete "C-c" term-unbind-key-list)
5 (delete "<ESC>" term-unbind-key-list)
6
7 ;; We don't need the special C-c C-c any afterwards.
8 (delete '("C-c C-c" . term-interrupt-subjob) term-bind-key-alist)
9 )
10
11 (add-hook 'term-mode-hook (function mtm-hook))