Fixing a typo in the middle of a long command means tapping it. Copying a path or an address means double-tapping it — and getting the whole thing.
v26.8.2+ · Written
You recalled a long command with ↑, or typed one out, and there is a mistake near the middle. Tap the character and the cursor goes there. Fix it, press Enter.
Three more places to tap:
user@host:~$) — the cursor goes to the start of what you typed.It works over SSH and mosh alike.
Double-tap a word to select it, then Copy. What changed is what counts as one word. Term now takes the whole of the things you actually copy from a terminal:
/etc/apt/sources.list.d/nodesource.sources0.0.0.0:8000, db.internal:5432, [::1]:22src/main.rs:42:7origin/main, nginx:1.2712:30:05A path that wrapped onto the next line comes out whole too.
0.0.0.0:8000. Address and port in one selection, with the grips at either end if you want to adjust it.The edges are trimmed the way you would want. A path at the end of a sentence leaves the full stop behind, brackets and quotes around it stay out, and so does the colon after user@host in your prompt — double-tap the host name and you get the host name.
Tapping a link once still opens it, as before — see Tapping links.
Tap-to-move is for the command line at a shell prompt — bash, zsh, fish, or a program’s own one-line input. A few places it stays out of the way:
If you would rather move without taking your finger off the keyboard, slide across it — both work, pick whichever is closer.