Termiyo
← All solutions

Solutions

Copy from the terminal without the mouse

Copy the IP, commit or path you just saw in two key presses, instead of a careful drag with the mouse.

Quick select labels what is worth copying in a Termiyo terminal — addresses, hashes, paths and URLs — when you press Ctrl+Shift+Space (⌘⇧Space on a Mac). Type a label to copy that text, or type it with Shift to put it on your prompt as well; nothing you type reaches the shell. Use it to copy an IP, a commit or a path without dragging the mouse.

Quick select labels what is worth copying on screen — addresses, hashes, paths, URLs. Type a label and it is on the clipboard; hold Shift as you type it and it is also put on your prompt, ready for the rest of the command. The letters you type never reach the shell.

Recorded in Termiyo against a test server on the recording machine, with a demo git history made for the recording.

Steps

  1. Label what is on screen

    With the terminal in front, press Ctrl+Shift+Space (⌘⇧Space on a Mac). Each match gets a label of one or two letters, and the line at the bottom says how many there are.

  2. Copy one

    Type a label: that text is copied and the labels go away. Nothing you typed reaches the shell.

  3. Put one on your prompt

    Start a command, press the chord again and type the label in capitals (Shift and the label). The text is copied and put on your prompt, and nothing runs until you press Enter. Esc leaves without copying.

Good to know

  • It works inside full-screen programs too, labelling only what they drew.

Transcript

Copy the IP, commit or path you just saw in two key presses, instead of a careful drag with the mouse.

One shortcut, and every address, hash and path on screen gets a short label.

Type a label, and it is on the clipboard. Nothing reaches the shell.

Type it in capitals to put it on your prompt. It runs only when you press Enter.