Learn about the letter q.learn that q is a consonant in the alphabet. In the case of w!, if vim cannot write to the file for some reason, it will try to delete and create a new one with the current buffer's contents This series goes through each of the letters, starting with a and ending with z
Della Duck | Dopple.ai
Each letter is accompanied with an engaging story and soundtrack
Where kids can be happy and smart!
Qualifier tells vim to force the operation If the file was modified and you wanted to quit without saving, you would use :q! Just means force write and quit in one command. The q's are the eyes with tears streaming out and the w is a squiggly mouth
It's related to other crying faces that use q's for eyes, such as q.q q.q or simply qq It is used both with capitals (qwq or qwq) and without (qwq) to mean the same thing. If you don't have permissions to write, but do have permissions to change the file's permissions. (verse 1)q is for quack, fro.
The advantage to vim is that it's very easy to chain together very simple commands into complex actions, and a lot of old timers (and people they've taught/influenced) still prefer wq.
Instead of quitting and reopening, simply use :e filename Or, if you want to open the file in readonly mode, then use :view filename After that you have 2 buffers open, but you will only see one of them That's when you need to learn how to navigate between buffers.
Subscribed 644 113k views 6 years ago learn more about wq (world quotient) Generally means what you'd expect from force, but what it means for specific command depends on the command