Add jumps command for displaying the jump list (#1233)

* Add `jumps` command for displaying the jump list

* Mention jump count in documentation

* Reverse order
This commit is contained in:
Joe Lim authored and GitHub committed 2023-05-13 16:43:08 +03:00
1 parent 2a5c54c81a
commit 24e224ca65
6 files changed
+53

No files matched your search

+7
View File
@@ -96,6 +96,7 @@ The following commands are provided by lf:
tag-toggle (default 't')
maps
cmaps
jumps
.EE
.PP
The following command line commands are provided by lf:
@@ -754,6 +755,12 @@ Capitalize/uppercase/lowercase the current word and jump to the next word.
.EE
.PP
List all key mappings in normal mode or command-line editing mode.
.PP
.EX
jumps
.EE
.PP
List the contents of the jump list, in order of the most recently visited locations. Each location is marked with the count that can be used with the `jump-prev` and `jump-next` commands (e.g. use `3[` to move three spaces backwards in the jump list). A '>' is used to mark the current location in the jump list.
.SH OPTIONS
This section shows information about options to customize the behavior. Character ':' is used as the separator for list options '[]int' and '[]string'.
.PP