Hacker News new | ask | show | jobs
by endur 4109 days ago
Until you want to undo something! Nano is definitely more user-friendly though. Some of the engineers I work with still don't know basic vim shortcuts, like 'w' and 'b'
1 comments

I use a lot of "yw", "d4w", or "dd" ..

are there others life-saving useful as these?

How about find and replace?

:%s/foo/bar/gc

The "gc" will apply the find and replace globally, and ask for confirmation before changing an occurrence of "foo".