fm

A read-only mirror of https://git.kyotam.com/sigrid. It updates only from there.

Sigrid Solveig Haflínudóttirselect on button 4 before activating71267ec5 years agoHistory
NameLast commit messageLast commit date
a.hmore explicit struct field names5 years ago
binitial import5 years ago
fm.cinitial import5 years ago
fm.pngupdate README5 years ago
LICENSEinitial import5 years ago
main.cselect on button 4 before activating5 years ago
mkfileinitial import5 years ago
README.mdtweak README.md5 years ago
README.md

fm

fm provides a gui to select an item from a list using a fuzzy matching algorithm.
When an item is selected, it is sent to the plumber send port unless the -p option is used in which case the item name is printed on standard output and the application exits.

fm

Left-click an item to select it.
Right-click to activate the selected item.

Keyboard shortcuts:

  • Arrow up / down change selection
  • Enter activate selection
  • Page up / down scroll by one screen page
  • Home go to first item in the list
  • End go to last item in the list
  • Ctrl-U clears the input line
  • Esc clears the input line unless input is empty in which case it exits fm
  • Del to exit fm

Usage:

Install with usual mk install
Run: ... | fm [-p]

The provided b script gives a usage example.

Credits:

The fuzzy matching algorithm has been ported from:

Bugs:

Obviously!

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t