
“Vi” ca be installed on all POSIX systems, but this version just has the bare “essentiell” functionality built in. A more in depth guide can be found here: Difference between Vi and Vim These are the bare basics you need to use vim and therefore manage files in the terminal. Therefore if we want to save and close the current file we have to input the following command: :wq Now we are in the “COMMAND”-Mode and therefore can execute commands Command After that the text “– INSERT –” at the bottom left of the terminal goes away. To execute commands inside VIM we have to get out of the “Insert”-Mode. There is no bar at the top that says something like “File” => “Save” or something like that. Now you probably would ask “How do I save the current file?”. Now you can add and edit text via the “normal” way you are used to. The “Insert”-Mode can be activated via the letter “i”. Instead you have to change the “mode” into “Insert”-Mode. In the current “mode” we can not add or edit text directly as you are used to. If vim or vi is installed you should see something like that: Create and edit filesĪlready present files can be edited via: vim Īfter that the given files opens in the VIM Editor. The easiest way to check if vi or vim is installed is via one of the following commands: In the following examples I will explain how the “Vim” editor works, since I am used to it. To create or edit text files you need to use one of the many available terminal text editors. Sometimes you do not have the possibility to edit or add files via a GUI.

