VIM editor -raspberry pi

Photo of author

By Jackson Taylor


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 editng 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 to command mode (press ESC button to enter this mode)
then type ‘:wq’ and enter key