MOUSE & SELECTION
Precise text selection, word/line/block modes, mark mode, copy-on-select, formatted copy.
Selection
Select text naturally with the mouse. ori-term gives you precise, smooth text selection with several modes:
- Click + drag — Character selection
- Double-click — Select word (understands delimiters, spans wrapped lines)
- Triple-click — Select line
- Alt + click — Block (rectangular) selection
Clipboard
- Copy on select — Optionally auto-copy text as soon as you select it
- Formatted copy — Copy text with colors and styles preserved (HTML)
- OSC 52 clipboard — CLI tools can read and write your clipboard
- Smart paste — Multi-line paste confirmation to prevent accidental damage
- File drag-and-drop — Drop a file into the terminal to insert its path
Mouse in Applications
Full mouse support for TUI applications. Click, drag, and scroll events are forwarded to apps like Neovim, htop, and lazygit. Scroll wheel works as expected in applications that request it.
Mark Mode
Keyboard-driven cursor navigation and selection. Toggle with Ctrl+Shift+M. Navigate scrollback, select text, and copy — all without touching the mouse.
Movement
- Arrow keys — Move cursor left, right, up, down
- Ctrl+Left / Ctrl+Right — Move by word
- Home / End — Line start / end
- Ctrl+Home / Ctrl+End — Buffer start / end
- PageUp / PageDown — Page scrolling
Selection
- Shift + any movement — Extend selection
- Ctrl+A — Select entire buffer
- Enter — Copy selected text to clipboard and exit
- Escape — Exit mark mode without copying