Quickly jump to next/previous register in Emacs.
Go to file
tastytea 06e217278c
Use delq instead of delete.
2020-02-20 02:32:39 +01:00
.gitignore Fix gitignore. 2020-02-19 19:00:06 +01:00
LICENSE Add license. 2020-02-20 01:38:23 +01:00
README.md Use #' for function references. 2020-02-20 01:52:01 +01:00
register-quicknav.el Use delq instead of delete. 2020-02-20 02:32:39 +01:00

README.md

register-quicknav - Quickly jump to next/previous register

Author: tastytea tastytea@tastytea.de
Version: 0.1.0
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.

Features

  • Cycle through all position registers in both directions.
  • Clear current register.

Known limitations

Works only for as long as the buffer containing the registers is open. If you close and reopen it, it won't work anymore.

Installation

To use register-quicknav.el, 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)

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)))

Tips

To only cycle through the registers of the current buffer, add (make-variable-buffer-local 'register-alist) to your init.el.


Converted from register-quicknav.el by el2markdown.