loccur 
- Description
- Perform an occur-like folding in current buffer
- Latest
- loccur-1.2.5.0.20240610.4.tar (.sig), 2026-Aug-16, 60.0 KiB
- Maintainer
- Alexey Veretennikov <alexey.veretennikov@gmail.com>
- Other versions:
- release version
- Website
- https://codeberg.org/fourier/loccur
- ELPA's Repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install or list-packages.
Full description
Add the following to your .emacs file:
;; defines shortcut for loccur of the current word
(define-key global-map [(control o)] 'loccur-current)
;; defines shortcut for the interactive loccur command
(define-key global-map [(control meta o)] 'loccur)
;; defines shortcut for the loccur of the previously found word
(define-key global-map [(control shift o)] 'loccur-previous-match)