Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Delete"-Commands in "Navigating the Command Line" do not actually (only) delete #48

Open
NicApicella opened this issue Aug 24, 2020 · 2 comments

Comments

@NicApicella
Copy link

In the "Navigating the Command Line" section, there are a bunch of commands described as "deleting" things. Also in [website/content/docs/section1/1-navigating-the-command-line/images/command-line.png the image] commands are subdivided into "Move" and "Delete".

The thing is, readline does not actually delete! More accurately, does "not only" delete: it rather kills (comparable to an—enhanced—cut command).

The short version is that, as a result of killing instead of merely deleting, you can later yank the killed text back (comparable to paste). (The longer version is that there exists a kill ring and that opens up a whole other can of worms. :-) But it's awesome! And worth mentioning! At the very least, "delete" is simply … too simplistic. ;-) )

@dwmkerr
Copy link
Owner

dwmkerr commented Aug 26, 2020

Hi @NicApicella that's awesome info, thanks for sharing! I'll update the chapter with more data on this 😄 can't wait to dig into the kill ring for my own curiosity BTW!

@dwmkerr
Copy link
Owner

dwmkerr commented Jan 27, 2025

Backfilling the manuscript does not fix this, therefore keeping open, however will be version 1.X post book launch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants