2.1 KiB
2.1 KiB
register-quicknav - Quickly jump to next/previous register
Author: tastytea tastytea@tastytea.de
Version: 0.3.2
URL: https://schlomp.space/tastytea/register-quicknav
This package is built on top of register.el
and allows you to quickly jump
to the next/previous position register. If you reach the end, the search
wraps around and continues with the first (or last) register. It can be used
across all files or individually for each buffer.
Features
- Cycle through all position registers in both directions.
- Clear current register.
- Store point in unused register (range configurable).
Installation
Note: The function and variable names were previously separated by “/” from the namespace. To conform with MELPA rules the separator has been changed to “-”.
To use register-quicknav.el
, get it from
MELPA or put it in your load-path
and add the following to your init.el:
(require 'register-quicknav)
(global-set-key (kbd "<C-f5>") #'register-quicknav-prev-register)
(global-set-key (kbd "<C-f6>") #'register-quicknav-next-register)
(global-set-key (kbd "M-r") #'register-quicknav-clear-current-register)
(global-set-key (kbd "C-M-r") #'register-quicknav-point-to-unused-register)
Or, with use-package:
(use-package register-quicknav
:bind (("C-<f5>" . register-quicknav-prev-register)
("C-<f6>" . register-quicknav-next-register)
("M-r" . register-quicknav-clear-current-register)
("C-M-r" . register-quicknav-point-to-unused-register))
Variables
register-quicknav-buffer-only
: Cycle only through position registers in current buffer. Can be safely set as file- and/or dir-local variable.register-quicknav-unused-registers-begin
: Begin of range forregister-quicknav-point-to-unused-register
.register-quicknav-unused-registers-end
: End of range forregister-quicknav-point-to-unused-register
.
Converted from register-quicknav.el
by el2markdown.