[Emacs] Allow pressing of C-h in term-mode

This commit is contained in:
Ivan Malison 2016-09-22 17:06:51 -07:00
parent 2b48d25a81
commit 7a0f96ef70
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -3060,11 +3060,12 @@ emr (emacs refactor) provides support for refactoring in many programming langua
#+BEGIN_SRC emacs-lisp
(use-package term
:bind (:map term-raw-escape-map
("M-x" . helm-M-x))
:bind (:map term-raw-map
("M-x" . helm-M-x))
("M-x" . helm-M-x)
:map term-raw-map
("M-x" . helm-M-x))
:config
(progn
(define-key term-raw-map (kbd "C-h") help-map)
(add-hook 'term-mode-hook 'imalison:disable-linum-mode)
(setq term-buffer-maximum-size 0)))
#+END_SRC