Today I Learned

hashrocket A Hashrocket project

Easily delete a long word in terminal

When you type that long feature branch name or URL but then want to delete it you have a few options, but hopefully you don’t hold your backspace/delete key until every character has been deleted. That would take too long.

I recently found a new shortcut other than the well-known ctrl-w. If you press the ESC key followed by backspace the last word will be deleted!

demo

See More #command-line TILs