Each time I save progress, vim creates another file. At the end, I have multiple files in addition to the original one. But it seems like it is not supposed to work that way?
It shouldn’t be that way at all. The normal way to save progress while you’re editing a file is to type :w followed by the Enter key. If you do this, Vim should write (or overwrite) the file on disk, resulting in a maximum of one file. (I’m ignoring the hidden temporary file.)
Escape is too far from homerow compared to
Ctrl+[
. It’s better to useCtrl+[
. I wrote about thei
key in the “Insert Mode” section.I’m not sure I understand the question. I take it you mean you save various versions of the same file? For version control, I use Git.
If you’re using Vim via the terminal, you can often paste via
Ctrl+Shift+v
.O I like these keys. Thank you
Each time I save progress, vim creates another file. At the end, I have multiple files in addition to the original one. But it seems like it is not supposed to work that way?
It shouldn’t be that way at all. The normal way to save progress while you’re editing a file is to type
:w
followed by the Enter key. If you do this, Vim should write (or overwrite) the file on disk, resulting in a maximum of one file. (I’m ignoring the hidden temporary file.)