Ver código fonte

Disable view-mode keybind

master
10sr 5 anos atrás
pai
commit
b2c363fde5
Acessado por: 10sr ID da chave GPG: 7BEC428194130EB2
1 arquivos alterados com 7 adições e 4 exclusões
  1. +7
    -4
      emacs.el

+ 7
- 4
emacs.el Ver arquivo

@@ -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)


Carregando…
Cancelar
Salvar