That's fair. I wish I was much more organized than I am. It was just drilled in me by all my teachers to never close my editor without saving, so I do it almost as a reflex. I used Atom before starting to learn Vim, and would always <Ctrl-S> before exiting, so now it's :wq all the time.
I think part of it is that I also use Vim as a quick way to just read a file, to reference it or check a value. When I do that, I want to ensure I haven't inadvertently made an edit. Vim is helpful in that it defaults to normal mode, but :q! gives me some extra peace of mind that I haven't done something dumb.
Good point! I'll keep that in mind for the future as well. I'm looking forward to learning all the things I can do with it aside from writing code more efficiently.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That's fair. I wish I was much more organized than I am. It was just drilled in me by all my teachers to never close my editor without saving, so I do it almost as a reflex. I used Atom before starting to learn Vim, and would always
<Ctrl-S>
before exiting, so now it's:wq
all the time.I think part of it is that I also use Vim as a quick way to just read a file, to reference it or check a value. When I do that, I want to ensure I haven't inadvertently made an edit. Vim is helpful in that it defaults to normal mode, but
:q!
gives me some extra peace of mind that I haven't done something dumb.Good point! I'll keep that in mind for the future as well. I'm looking forward to learning all the things I can do with it aside from writing code more efficiently.