ソースを参照

Disable view-mode keybind

master
10sr 5年前
コミット
b2c363fde5
署名者: 10sr GPGキーID: 7BEC428194130EB2
1個のファイルの変更7行の追加4行の削除
  1. +7
    -4
      emacs.el

+ 7
- 4
emacs.el ファイルの表示

@@ -1249,10 +1249,13 @@ found, otherwise returns nil."
;; "n" 'nonincremental-repeat-search-forward)
;; (define-key view-mode-map
;; "N" 'nonincremental-repeat-search-backward)
(define-key view-mode-map "/" 'isearch-forward-regexp)
(define-key view-mode-map "?" 'isearch-backward-regexp)
(define-key view-mode-map "n" 'isearch-repeat-forward)
(define-key view-mode-map "N" 'isearch-repeat-backward)

;; N conflicts with git-walktree
;; (define-key view-mode-map "/" 'isearch-forward-regexp)
;; (define-key view-mode-map "?" 'isearch-backward-regexp)
;; (define-key view-mode-map "n" 'isearch-repeat-forward)
;; (define-key view-mode-map "N" 'isearch-repeat-backward)

(define-key view-mode-map (kbd "C-m") 'my-rgrep-symbol-at-point))
(global-set-key "\M-r" 'view-mode)
;; (setq view-read-only t)


読み込み中…
キャンセル
保存