From e62e9bf884324f7744faf2811ad76056be0aa309 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 25 Oct 2019 20:53:49 +0900 Subject: [PATCH] Define some swoop-map keys --- emacs.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs.el b/emacs.el index aff6da6..a58a1b9 100644 --- a/emacs.el +++ b/emacs.el @@ -2392,6 +2392,11 @@ Any output will be written to current buffer." (global-set-key (kbd "C-s") 'swoop) (global-set-key (kbd "C-r") 'swoop) (define-key esc-map (kbd "C-s") 'swoop-multi) + (with-eval-after-load 'swoop-lib + (defvar swoop-map) + (define-key swoop-map (kbd "C-s") 'swoop-action-goto-line-next) + (define-key swoop-map (kbd "C-r") 'swoop-action-goto-line-prev) + ) ) (when (fboundp 'dired-k)