5 ms·
BRS, that old classic Big Red Switch, kills all known operating systems and proc's, dead in their tracks. Me, It's usually :wq, or sometimes :q! or more than l
by Zenst 7y ago
BRS, that old classic Big Red Switch, kills all known operating systems and proc's, dead in their tracks.
Me, It's usually :wq, or sometimes :q! or more than likely ZZ - which can be done with shift zz or if you truly want to do it with just one finger, capslock then zz.
- xerox13ster 7y ago:x
- epr 7y agoThank you. I swear every time I see a tutorial where someone is using vim they say to save and close with :wq and it drives me nuts.
- Zenst 7y agoThat is because it is easier to teach as x you will associate with exit, though wq is write quite, but more so if you just want to save without exit you logically understand to just use w and from that you start to think - could I do :q, why yes you can if nothing changed and if so it will tell you. But stressing how people exit vi is like stressing about people's fashion, just not worth it. If anything, have a private laugh at them to yourself and use that to remove other stress as more than enough stress in life, more so IT without seeking it out.
- a3n 7y agoI never use :wq because I obsessively save after every thought.