瀏覽代碼

type q when in view-mode bury-buffer

pull/1/head
10sr 13 年之前
父節點
當前提交
fb85b33755
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      .emacs.el

+ 1
- 1
.emacs.el 查看文件

@@ -728,7 +728,7 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
(define-key view-mode-map "k" (lambda() (interactive) (scroll-down 1)))
(define-key view-mode-map "/" 'isearch-forward)
(define-key view-mode-map "v" 'toggle-read-only)
(define-key view-mode-map "q" 'kill-this-buffer)))
(define-key view-mode-map "q" 'bury-buffer)))
(global-set-key "\M-r" 'view-mode)
(setq view-read-only t)
;; (add-hook 'find-file-hook


Loading…
取消
儲存