Normal mode
Normal mode is the default mode when you launch hline. This is where you navigate, select, and copy commands.Navigation
Move cursor down one line
Move cursor up one line
Move down half a page (half the viewport height)
Move up half a page (half the viewport height)
Jump to the top of the list
Jump to the bottom of the list
Selection
Toggle selection for the current entry
Select all currently shown entries (respects active filters)
Clear all selections
Copy the current entry, or all selected entries if any are selected
Search
Enter search mode to filter commands
Sorting
Cycle through sort modes: Recency → Alpha → Length → Recency
Toggle sort direction (ascending/descending)
Help and quit
Toggle the help screen
Quit hline
Search mode
When you press/ in normal mode, you enter search mode. The search query appears at the bottom of the screen, and results update as you type.
Text editing
Insert character into the search query (modifiers like Ctrl and Alt are ignored)
Delete the last character from the search query
Delete the last word from the search query (removes trailing whitespace first, then the word)
Clear the entire search query
Exiting search
Exit search mode and return to normal mode (keeps the current filter active)
Context-aware behavior
Some keys behave differently depending on the mode:- Ctrl+u moves up half a page in normal mode, but clears the search query in search mode
- ? toggles the help screen in normal mode; when help is visible, press
?orEscto close it
Help screen override
When the help screen is visible, most keys are ignored except:?- Close the help screenEsc- Close the help screen