Hi, I downloaded vim for the first time, after reading your post. It is fascinating program, and learning about it is another interesting experience. Now, I have three things to ask you.
Why didn’t you write about [ESC] and [i] keys to turn on and off the [vim mode]? I had no idea but just messing with it, before I can activate these cool shortcuts. Hahaha
I write stuff and save constantly. In Vim, whenever I save, it creates another file ~[filename], over and over again. How do we organize files for vim?
Lastly, how do we paste outside texts to the vim? :p didn’t work.
I just dumped you all these questions, sorry about that, but I appreciate your help much.
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.)
Hi, I downloaded vim for the first time, after reading your post. It is fascinating program, and learning about it is another interesting experience. Now, I have three things to ask you.
Why didn’t you write about [ESC] and [i] keys to turn on and off the [vim mode]? I had no idea but just messing with it, before I can activate these cool shortcuts. Hahaha
I write stuff and save constantly. In Vim, whenever I save, it creates another file ~[filename], over and over again. How do we organize files for vim?
Lastly, how do we paste outside texts to the vim? :p didn’t work.
I just dumped you all these questions, sorry about that, but I appreciate your help much.
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.)