From efd510a3526661ae1c62e39db8ff345b28154430 Mon Sep 17 00:00:00 2001 From: Siddhartha Date: Thu, 3 Dec 2020 16:28:22 -0800 Subject: [PATCH] go to next/previous result in occur mode with preview --- modes/occur/evil-collection-occur.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modes/occur/evil-collection-occur.el b/modes/occur/evil-collection-occur.el index 1c5c230..6e76445 100644 --- a/modes/occur/evil-collection-occur.el +++ b/modes/occur/evil-collection-occur.el @@ -54,10 +54,10 @@ (kbd "M-") 'occur-mode-display-occurrence "go" 'occur-mode-goto-occurrence-other-window - "gj" 'occur-next - "gk" 'occur-prev - (kbd "C-j") 'occur-next - (kbd "C-k") 'occur-prev + "gj" 'next-error-no-select + "gk" 'previous-error-no-select + (kbd "C-j") 'next-error-no-select + (kbd "C-k") 'previous-error-no-select "r" 'occur-rename-buffer "c" 'clone-buffer (kbd "C-c C-f") 'next-error-follow-minor-mode)