DEV Community

Discussion on: Linux Tips And Tricks

Collapse
 
polyluxus profile image
Martin Schwarzer

While the list is quite nice, and I couldn't agree more about vim, these are all standalone programs, not limited to bash.

Maybe worth to mention that you don't need the command colon in less, a simple button press should do in most cases. Also I believe pressing v, should open vi directly from the file. That makes it convenient to just preview, find stuff, and edit right away.

Collapse
 
mohanarpit profile image
Arpit Mohan

Crap, I never realized that I didn't need the colon in the less command. Always used it like vi (muscle memory) and never bothered to check on this. Thanks! #TIL

Collapse
 
polyluxus profile image
Martin Schwarzer

You should see it like this: the Devs of less were clever enough to not make the colon a problem for vi. Probably because they were using vi ;)