Browse Source

Do not close magit when pressing escape

master
Riyyi 3 years ago
parent
commit
eb684b5a13
  1. 5
      .config/emacs/config.org

5
.config/emacs/config.org

@ -1601,6 +1601,11 @@ Disable keybinds of installed packages that clash with other custom keybinds.
(with-eval-after-load 'evil-states
(define-key evil-motion-state-map (kbd dot/leader-key) nil))
(with-eval-after-load 'magit
(general-def 'normal magit-mode-map
;; Do not close magit when pressing escape
"<escape>" nil))
(with-eval-after-load 'php-mode
(define-key php-mode-map (kbd "M-j") nil)
(define-key php-mode-map (kbd "C-M-h") nil))

Loading…
Cancel
Save