How to copy and paste in Vim
y copies and p pastes, but only inside Vim. How registers work, how to reach the system clipboard when your build says -clipboard, and how to copy out over SSH and in tmux.
11 stories
y copies and p pastes, but only inside Vim. How registers work, how to reach the system clipboard when your build says -clipboard, and how to copy out over SSH and in tmux.
Pipe any command into the clipboard on Mac, Linux, Windows and WSL. The commands for each, plus the newline and encoding problems that break pasted text.
We checked every request that claimed to be GPTBot, ClaudeBot, PerplexityBot and the rest against the operators' published IP lists. Then we looked at what the real ones read. The data is downloadable.
jq is sed for JSON. The filters you use most, built up against one API response so every command has a visible result, from map and select to group_by and raw output.
wget and curl both fetch over HTTP, and there the resemblance ends. One is a recursive downloader, the other a protocol swiss army knife. What each is genuinely better at.
For a new SSH or signing key, Ed25519 is the better default: smaller, faster, and harder to misconfigure. When RSA is still the right call, and the commands to generate each.
The prefix length tells you how many addresses a block holds and how many you can assign. The full /8 to /32 table, the reserved ranges, and the math to find a network and broadcast by hand.
The regex pieces you actually reach for, character classes through lookarounds, with the flavor differences that bite you and a handful of patterns worth saving.
The ports people actually look up, grouped by use, each with the protocol that matters and what runs there. Web, mail, file and shell, databases, infrastructure, and local dev ports.
JSONPath is XPath for JSON. One small store document, threaded through wildcards, slices, filters and recursive descent, with the honest note on how implementations vary.
TOML aims to be obvious and minimal; YAML serializes any data a human can read. The same config in both, YAML's sharp edges stated accurately, and where each one won.
Showing 11 of 11 stories
You're all caught up.
Get the top AI news and tools straight to your inbox every week.
Weekly · AI news
Join 15,000+ AI enthusiasts