summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-14 11:00:32 +0000
committernoa@gaiwan.org2024-06-14 11:00:32 +0000
commitf1c1c387cd55b13ff608da2bd58bd397efc7c5f5 (patch)
tree9459833902e906b8b3126b284d890af9d595aa43 /emacs/init.el
parentce1f53ebaf07e1fe4710ad1bad1d6342e849d6b5 (diff)
Replace smartscan keybindings with error navigation
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 8a002f7..1d94f34 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -607,9 +607,11 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 (setopt pixel-scroll-precision-mode t
         pixel-scroll-precision-use-momentum t)
 
-(use-package smartscan)
-(global-set-key (kbd "M-n") #'smartscan-symbol-go-forward)
-(global-set-key (kbd "M-p") #'smartscan-symbol-go-backward)
+;; (use-package smartscan)
+;; (global-set-key (kbd "M-n") #'smartscan-symbol-go-forward)
+;; (global-set-key (kbd "M-p") #'smartscan-symbol-go-backward)
+(global-set-key (kbd "M-n") #'next-error)
+(global-set-key (kbd "M-p") #'previous-error)
 
 ;;; sentences
 (setopt sentence-end-double-space nil)