1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-29 22:48:24 +02:00

Improve JumpToBlock keybinding functionality

Improve experience when yaml file has != 5 keybindings and change view
helper to use the length of the array instead of hardcoded value.
This commit is contained in:
Sam Burville
2021-10-17 18:22:59 +01:00
committed by Jesse Duffield
parent 91e8765d9c
commit f6e316dfe5
4 changed files with 73 additions and 69 deletions

View File

@@ -101,7 +101,7 @@ keybinding:
nextBlock: '<right>' # goto the next block / panel
prevBlock-alt: 'h' # goto the previous block / panel
nextBlock-alt: 'l' # goto the next block / panel
jumpToBlock: "1", "2", "3", "4", "5" # goto the Nth block / panel
jumpToBlock: ["1", "2", "3", "4", "5"] # goto the Nth block / panel
nextMatch: 'n'
prevMatch: 'N'
optionMenu: 'x' # show help menu