Selecting commands
You can select commands individually or select all visible commands at once.Toggle selection
PressSpace to toggle selection for the command under the cursor.
Select all visible
Pressa to select all currently shown commands. This respects any active filters.
a selects only the visible “git push” commands, not all git commands.
Clear all selections
Pressc to deselect everything.
Copying to clipboard
Pressy to copy commands to your system clipboard.
Copy behavior
- No selection: Copies the command under the cursor
- With selection: Copies all selected commands in the order they were selected
Copy single command
Copy multiple commands
Selection order preservation
Commands are copied in the order you selected them, not the order they appear on screen. This lets you build custom command sequences.Example: building a git workflow
Selection with filters
Selections persist even when commands are filtered out of view.Example workflow
Selection with sorting
Changing the sort order doesn’t affect selection order for copying.Clipboard integration
Hline uses your system clipboard:- Linux: X11 clipboard (primary and clipboard selection) or Wayland clipboard
- macOS: pbcopy/pbpaste
- Windows: Windows clipboard API
y, you can paste the commands anywhere using your system’s paste shortcut (usually Ctrl+V or Cmd+V).
Error handling
If copying fails, you’ll see an error toast:- The clipboard service isn’t available
- You’re using hline over SSH without X11 forwarding
- The clipboard API isn’t accessible
Tips
- Select commands in the order you want to run them, not the order they appear
- Use
ato quickly select all commands matching a filter - Clear selections with
cbefore starting a new selection - Copy a single command with
ywithout needing to select it first