So by pressing i you enter the edit mode of vim. The file does not get saved until you say so. If you just type in vim you would see the text editor.īut if you type for instance vim example.txt you open vim and from then on you are working in the file you created. What I do when I want to create a file, edit it and just save it is I type vim at the terminal.
0 Comments
Leave a Reply. |