Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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'


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".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: