A modern readline alternative for bash.
Features:
- Undo and redo support
- Cursor animations
- Fuzzy history suggestions
- Fuzzy autocompletions
- Integration with bash autocomplete
- Mouse support:
- Click to move cursor in buffer
- Hover over command for tooltips
- Tab completions when writing subshells, command substitutions, process substitutions
- Tab completions for aliases (e.g. if
gcaliases togit commit,gc --verbo<TAB>works as expected )
Download the latest libflyline.so.
In your .bashrc (or in your current bash session): enable -f /path/to/libflyline.so flyline.
- I'd recommend setting
terminal.integrated.minimumContrastRatio = 1to prevent the cell's foreground colour changing it's under the cursor. - You may want to set
terminal.integrated.macOptionIsMetasoOption+keyshortcuts are properly recognised. - Shell integration WIP
Command+<KEY> shortcuts are often captured by the terminal emulator and not forwarded to the shell.
Two fixes are:
- Map
Command+<KEY>toControl+<KEY>in your termianl emulator settings. - Use a terminal emulator that supports Kitty's exteneded keyboard protocol. This allows flyline to receive
Command+<KEY>events.