Skip to main content
Copy mode allows you to select and copy text from your terminal using only the keyboard, with Vim-style navigation controls. This eliminates the need to reach for your mouse when selecting terminal output.

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.

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 the copy_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
Use copy mode when you need:
  • Precise character-level selection
  • Multi-line selections
  • Rectangular selections
  • Vim-style navigation

Comparison to Other Tools

Tips and Tricks

  1. Combine with search: Use Ctrl+Shift+F to search, then Ctrl+Shift+X to enter copy mode at the found location
  2. Use markers: Navigate to specific points quickly with Shift+H (top), Shift+M (middle), Shift+L (bottom)
  3. Rectangular mode for columns: Use Ctrl+V to select columnar data from command output
  4. Fast line grabbing: Shift+V then j/k for quick line-based selections
  5. Practice Vim motions: Copy mode is a great way to learn or practice Vim navigation if you’re new to it