Quickly jump to next/previous register in Emacs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tastytea c15ea92b09
Remove obsolete variable/function aliases.
1 month ago
.drone.yml Don't check tags in CI. 3 months ago
.gitignore Clean up .gitignore. 3 months ago
LICENSE Add license. 4 months ago
README.md Remove obsolete variable/function aliases. 1 month ago
makem.sh Add CI with drone + makem.sh. 3 months ago
register-quicknav.el Remove obsolete variable/function aliases. 1 month ago

README.md

register-quicknav - Quickly jump to next/previous register

Author: tastytea tastytea@tastytea.de
Version: 0.4.3
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).
  • Clear all registers in the unused registers range.

Installation

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 "<C-f7>") #'register-quicknav-point-to-unused-register)
(global-set-key (kbd "<C-S-<f7>") #'register-quicknav-clear-current-register)

Or, with use-package:

(use-package register-quicknav
  :bind (("C-<f5>"   . register-quicknav-prev-register)
         ("C-<f6>"   . register-quicknav-next-register)
         ("C-<f7>"   . register-quicknav-point-to-unused-register)
         ("C-S-<f7>" . register-quicknav-clear-current-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: Beginning of the range that is used to search for unused registers. Defaults to ?A.
  • register-quicknav-unused-registers-end: End of the range that is used to search for unused registers. Defaults to ?Z.

Differences to similar packages

iregister:

  • Opens a minibuffer on each jump (thereby requiring an extra keystroke).
  • Doesn't work with file-query registers
  • Can't be restricted to the current buffer.
  • Doesn't look like it's still maintained.

register-channel:

  • Is limited to 5 position registers by default, needs an extra keybinding for each additional register.
  • Can't be restricted to the current buffer.
  • Has no ability to jump to the next/previous register.

Converted from register-quicknav.el by el2markdown.