
installing vim
sudo apt-get install vim
vim have 2 modes
insert mode (edit mode)
press ‘i’ to enter this mode
command mode
press ESC button to enter this mode
create and editing a file
vim print.py
(example——-create and edit a python file)
press i to enter insert mode
add your data
saving a file
first enter command mode (press ESC button to enter this mode)
:wq
and press Enter key