diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-12-07 15:52:30 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-12-07 15:52:30 +0100 |
| commit | 8f4fb413763d2485a32d9d5882f8e977e95fee9d (patch) | |
| tree | 36148f7fa2c7e20924712ea629a0853637534da0 | |
| parent | 38abbb97cc3de9768b1b8fe8c8da20141087b944 (diff) | |
| download | dotfiles-8f4fb413763d2485a32d9d5882f8e977e95fee9d.tar.xz | |
Disable rg.el's file-movement bindings
| -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 |
