mirror of
https://github.com/jbranchaud/til
synced 2026-01-05 08:08:02 +00:00
Add a clarification to the latest TIL
This commit is contained in:
@@ -6,8 +6,9 @@ some edits toward that side of the command or `ctrl-e` to jump to the end of
|
|||||||
the command for the same reason. I sometimes even use `ctrl-k` to delete
|
the command for the same reason. I sometimes even use `ctrl-k` to delete
|
||||||
everything after the cursor to the end of the line.
|
everything after the cursor to the end of the line.
|
||||||
|
|
||||||
What I didn't realize until now is that any of those actions plus regular
|
What I didn't realize until now is that any of those commands the modify the
|
||||||
typing and hitting the backspace are all _undoable_.
|
current line of the termianl prompt plus regular typing and hitting the
|
||||||
|
backspace are all _undoable_.
|
||||||
|
|
||||||
So, if I just wiped out half the line (with `ctrl-k`) and I immediately regret
|
So, if I just wiped out half the line (with `ctrl-k`) and I immediately regret
|
||||||
it, I can restore it with `ctrl-_`. The system keeps of history of the actions
|
it, I can restore it with `ctrl-_`. The system keeps of history of the actions
|
||||||
|
|||||||
Reference in New Issue
Block a user