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

+9
View File
@@ -84,6 +84,7 @@ The following commands are provided by lf:
tag-toggle (default 't')
maps
cmaps
jumps
The following command line commands are provided by lf:
@@ -641,6 +642,14 @@ Capitalize/uppercase/lowercase the current word and jump to the next word.
List all key mappings in normal mode or command-line editing mode.
jumps
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.
# Options
This section shows information about options to customize the behavior.