Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Simplistic key mapping support #163
Let's say we add an option that takes a comma-separated list of key chords, such as
Then fzf will allow me to select the item with any of the given key chords in addition to the default enter key. But in this case, fzf will print the name of the key chord used as the first line of the output.
Now we know which key was pressed, and our script can use the information to decide what to do next.
There are some questions to be answered: