fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

It’ll save you more than keystrokes. It’ll save you time wondering if you even changed the file.

For an un-edited file, you can just use :q to close the file. For an edited file though, it needs to be written before it can be quit so you can do :w then :q or you can do :wq

:x will check for un-saved changes, and save them if need be. Then close the file for you.

Bonus tip — Use :xa to save and close *all* your files!

#vim #tips #meme
fosstodon.org/@vimtips/1139050

topher1kenobe

@awoodsnet @vimtips and don’t forget if you try to quit and it tells you to save your changes and you don’t remember making any, :q! Is your friend.