2020-02-19 17:00:03 +01:00
|
|
|
# register-quicknav - Quickly jump to next/previous register
|
|
|
|
|
|
|
|
*Author:* tastytea <tastytea@tastytea.de><br>
|
2020-03-08 12:02:52 +01:00
|
|
|
*Version:* 0.3.1<br>
|
2020-02-19 19:23:16 +01:00
|
|
|
*URL:* [https://schlomp.space/tastytea/register-quicknav](https://schlomp.space/tastytea/register-quicknav)<br>
|
2020-02-19 17:00:03 +01:00
|
|
|
|
2020-02-19 17:02:54 +01:00
|
|
|
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.
|
2020-02-19 17:00:03 +01:00
|
|
|
|
|
|
|
## Features
|
|
|
|
|
|
|
|
* Cycle through all position registers in both directions.
|
|
|
|
* Clear current register.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2020-03-01 06:42:50 +01:00
|
|
|
**Note:** The function and variable names were previously separated by “/”
|
|
|
|
from the namespace. To conform with MELPA rules the separator has been
|
|
|
|
changed to “-”.
|
|
|
|
|
2020-02-19 17:00:03 +01:00
|
|
|
To use `register-quicknav.el`, put it in your load-path and add the following
|
2020-02-19 18:54:11 +01:00
|
|
|
to your init.el:
|
2020-02-19 17:00:03 +01:00
|
|
|
|
|
|
|
(require 'register-quicknav)
|
2020-03-01 06:42:50 +01:00
|
|
|
(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)
|
2020-02-19 17:00:03 +01:00
|
|
|
|
|
|
|
Or, with use-package:
|
|
|
|
|
|
|
|
(use-package register-quicknav
|
2020-03-01 06:42:50 +01:00
|
|
|
:bind (("C-<f5>" . register-quicknav-prev-register)
|
|
|
|
("C-<f6>" . register-quicknav-next-register)
|
|
|
|
("M-r" . register-quicknav-clear-current-register)))
|
2020-02-19 17:00:03 +01:00
|
|
|
|
2020-02-24 22:12:09 +01:00
|
|
|
Instead of manually copying `register-quicknav.el` into your load-path, you
|
|
|
|
can use [quelpa](https://github.com/quelpa/quelpa):
|
|
|
|
|
|
|
|
(quelpa '(register-quicknav
|
|
|
|
:fetcher git
|
|
|
|
:url "https://schlomp.space/tastytea/register-quicknav.git"))
|
|
|
|
|
2020-02-20 03:25:36 +01:00
|
|
|
## Variables
|
2020-02-19 19:00:30 +01:00
|
|
|
|
2020-03-01 06:42:50 +01:00
|
|
|
* `register-quicknav-buffer-only`: Cycle only through position registers in
|
2020-02-20 03:25:36 +01:00
|
|
|
current buffer.
|
2020-02-19 19:00:30 +01:00
|
|
|
|
2020-02-19 17:00:03 +01:00
|
|
|
|
|
|
|
---
|
|
|
|
Converted from `register-quicknav.el` by [*el2markdown*](https://github.com/Lindydancer/el2markdown).
|