Activating Copy Mode
When copy mode is active, the tab title is prefixed with “Copy Mode” and the terminal behavior changes to allow keyboard-driven cursor navigation.
Selection Modes
Copy mode supports three types of selection:Selection mode is off by default. Press
v to toggle it on before selecting text.Navigation
Basic Movement
Word Movement
Line Movement
Viewport Movement
Page Movement
Scrollback Movement
Selection Actions
Copying Text
Adjusting Selection
Shift+O is particularly useful in rectangular selection mode for adjusting the selection boundary.Exiting Copy Mode
Workflow Example
1
Activate copy mode
Press
Ctrl+Shift+X to enter copy mode.2
Navigate to start position
Use
h, j, k, l or arrow keys to move the cursor to where you want to start selecting.3
Start selection
Press
v for character selection, Shift+V for line selection, or Ctrl+V for rectangular selection.4
Extend selection
Move the cursor to the end of the text you want to select.
5
Copy and exit
Press
y to copy the selected text and exit copy mode, or Ctrl+Shift+C to copy without exiting.Customizing Copy Mode
You can customize copy mode keybindings by overriding thecopy_mode key table:
Custom Copy Mode Bindings
View Default Copy Mode Bindings
To see all default copy mode keybindings:View Copy Mode Keys
Color Customization
Customize the appearance of selected text in copy mode:Copy Mode Colors
Advanced Usage
Quick Copy Git Commit Hash
Selecting Command Output
Example Workflow
Integration with Quick Select
While copy mode provides fine-grained control, Quick Select mode is better for quickly selecting common patterns like:- URLs
- File paths
- Git hashes
- IP addresses
- Precise character-level selection
- Multi-line selections
- Rectangular selections
- Vim-style navigation
Comparison to Other Tools
Tips and Tricks
-
Combine with search: Use
Ctrl+Shift+Fto search, thenCtrl+Shift+Xto enter copy mode at the found location -
Use markers: Navigate to specific points quickly with
Shift+H(top),Shift+M(middle),Shift+L(bottom) -
Rectangular mode for columns: Use
Ctrl+Vto select columnar data from command output -
Fast line grabbing:
Shift+Vthenj/kfor quick line-based selections - Practice Vim motions: Copy mode is a great way to learn or practice Vim navigation if you’re new to it