瀏覽代碼

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

pull/1/head
10sr 12 年之前
父節點
當前提交
5c9ebced06
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      .emacs

+ 1
- 0
.emacs 查看文件

@@ -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-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-d" 'delete-char)
(set (make-variable-buffer-local 'scroll-margin) 0)))
;; (add-hook 'term-exec-hook 'forward-char)



Loading…
取消
儲存