Browse Source

.emacs: i want not to exit term-mode when i type C-d

pull/1/head
10sr 13 years ago
parent
commit
5c9ebced06
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      .emacs

+ 1
- 0
.emacs View File

@@ -651,6 +651,7 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
(define-key term-raw-map "\C-c" 'term-send-raw) (define-key term-raw-map "\C-c" 'term-send-raw)
(define-key term-raw-map "\C-x" (lookup-key (current-global-map) "\C-x")) (define-key term-raw-map "\C-x" (lookup-key (current-global-map) "\C-x"))
(define-key term-raw-map "\C-z" (lookup-key (current-global-map) "\C-z"))) (define-key term-raw-map "\C-z" (lookup-key (current-global-map) "\C-z")))
;; (define-key term-raw-map "\C-d" 'delete-char)
(set (make-variable-buffer-local 'scroll-margin) 0))) (set (make-variable-buffer-local 'scroll-margin) 0)))
;; (add-hook 'term-exec-hook 'forward-char) ;; (add-hook 'term-exec-hook 'forward-char)




Loading…
Cancel
Save