dotfiles

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝
git clone https://git.kevinlegouguec.net/dotfiles
Log | Files | Refs | README

commit 8f4fb413763d2485a32d9d5882f8e977e95fee9d
parent 38abbb97cc3de9768b1b8fe8c8da20141087b944
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Sat,  7 Dec 2019 15:52:30 +0100

Disable rg.el's file-movement bindings

Diffstat:
M.emacs | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.emacs b/.emacs @@ -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