3 ms·
Very cool tool! Two immediate thoughts: one, the naming had me confused for a while. The only place I've seen the word "yank" in computing is in Emacs context,
by TeMPOraL 6y ago
Very cool tool!
Two immediate thoughts: one, the naming had me confused for a while. The only place I've seen the word "yank" in computing is in Emacs context, where it means "paste", not "copy"...
Two, natural extension of this idea is "interactively select and transform data in the pipe". I think existing text editors would be natural fit for this, especially if configured with some conveniences (like field-based navigation and ability to delete everything except a particular column/line with one command). Then, you could drop such editor into a pipe using something like [0]. I'm gonna try this with terminal Emacs client at some point.
--
[0] - https://stackoverflow.com/a/49289440 https://stackoverflow.com/a/49289440
- jorams 6y ago> The only place I've seen the word "yank" in computing is in Emacs context, where it means "paste", not "copy"... This is a confusing difference between Emacs and Vim. Emacs uses it for pasting, Vim uses it for copying.
- 0df8dkdf 6y agoalso VIM. It is probably that. I guess he could have call it Put. But yank sounds cooler.
- raverbashing 6y agoHow did the Emacs developers ever thought "yank" would convey the meaning of "paste"? (Legitimate question. I'm aware some UX faux-pas do happen, but I don't see how)
- ruph123 6y agoOh oh. Someone had a too harmonic day and wants to add some spice to it.
- Macha 6y agoEmacs developers viewed it as yanking out of the buffer into the document. Vim viewed it as yanking out of the document into the buffer. It's poor terminology either way, as yanking to me implies moving rather than copying as in both applications
- e12e 6y agoMaybe Emacs yanks from a clipboard (into a buffer), while vim yanks from a buffer into a register (buffer)?