Cover image from Delete last word

Delete last word

February 22, 2018

Coming from vim I´m used to a wide variety of keystrokes to manipulate text. The other day at work though my mind was blown when a colleague hit alt + backspace to delete the previous word in macOS. This was particularly useful because in Terminal I am used to pressing ctrl+w. This will delete the previous word as well, but it terminal it does not respect delimeters such as ´_/´_ or ´_-´_. With alt + backspace though I can edit the folders in path without wiping out the entire path. Very handy.