m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-13 13:53:47 -05:00

Add "last" action to move the cursor to the last match

This is the opposite of "first" (previously known as "top").
This commit is contained in:
Junegunn Choi
2020-12-30 01:51:25 +09:00
parent e9bc7331bd
commit 0de7ab18f6
5 changed files with 20 additions and 10 deletions

View File

@@ -879,8 +879,10 @@ func parseKeymap(keymap map[int][]action, str string) {
appendAction(actDown)
case "up":
appendAction(actUp)
case "top":
appendAction(actTop)
case "first", "top":
appendAction(actFirst)
case "last":
appendAction(actLast)
case "page-up":
appendAction(actPageUp)
case "page-down":