added loccur, use C-o for this

This commit is contained in:
2023-06-16 12:23:33 +02:00
parent 218c85647c
commit 5a12ee7b71
2 changed files with 5 additions and 1 deletions

View File

@@ -14,6 +14,9 @@
regexp-history)
(call-interactively 'occur))
(use-package loccur
:bind
(("C-o" . loccur-current)))
(provide 'init-occur)
;;; init-occur.el ends here

View File

@@ -105,7 +105,8 @@ to next buffer otherwise."
;; M-o doesn't work when using emacs via Win->RDP->VNC->X11->Xmonad,
;; so fall back to C-o.
(global-set-key (kbd "C-o") 'other-window-or-switch-buffer)
;; I'm not using windows anymore
;; (global-set-key (kbd "C-o") 'other-window-or-switch-buffer)
;; Use only in X11 emacs - setting M-O inside console causes <up> and
;; <down> to stop working properly, for whatever reasons.