diff options
| -rw-r--r-- | .emacs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -195,6 +195,13 @@ ;; in stone, and I would miss out on future updates by Magit. (add-hook 'git-commit-setup-hook 'git-commit-turn-on-flyspell) +;; rg re-binds C-n and C-p. I loathe arrow keys for regular movement, +;; and n and p are laggy because they visit the matched files. +;; Since I can't blame anyone for telling me "It's 2019; use the arrow +;; keys and buy an SSD already", I'll just add this kludge… +(define-key rg-mode-map (kbd "C-p") nil) +(define-key rg-mode-map (kbd "C-n") nil) + ;; Major modes configuration |
