Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
iTerm2 — search keyword and copy and paste text

iTerm2 — search keyword and copy and paste text

Output example

image

Command + F to start search mode

image

Enter to search next

iTerm2 search keywords from bottom to up.

image

image

Esc to escape search mode

Searched keyword is keeping on selected.

image

Command + C to Copy

Command + V to Paste

image

Done 🎉

In the same way You can search keyword and start Copy Mode

Copy Mode - Documentation - iTerm2 - macOS Terminal Replacement

Command+Shift+C to Start Copy Mode

image

Move cursor and change selected area

image

Y to yank ( copy )

Command+V to Paste

image

Versions

  • Max OS X High Sierra
  • iterm2 3.2.0

Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.