VIM stands for Vi IMproved. As in a better editor than VI.
You can start Vim at any terminal or in a SSH session on Linux with this command:
vim filenamevim /home/me/filenamevimSame goes for vi commands, opens a file the same way.
vi filenamevi /home/me/filenameviOnce vim / vi is opened you are in the default mode.
Editing the file is done by pressing i key or Insert on the keyboard.
To exit vim you type colon:
then that should show on the bottom left side of the screen.
If it says — INSERT — on bottom left, press the Esc escape key and press: again. Now the: showuld show on bottom left area.
If you didn’t make changes to the file you can exit vim (quit) by pressing q and Enter key.
If you did make changes but don’t want to keep them you press q! and Enter.
If you made changes and you would like to write them to disk / file, you type wq and Enter.
Keys Summary
Keyboard characters sequences
:q - exit vim:q! - exit vim without saving changes:w - save write changes to disk but not closing vim:wq - save changes to disk then quit vim. This is the most used option.Hope it helps.
Helpful Tips
Check all labels, connections, and power ratings before starting so everything fits safely and securely. If any detail looks slightly different on your model, pause the embedded video above for a clear closeup view.
Related Guides
- How to Enable Swipe to Open Camera on iPad Lock Screen – If swiping left on your iPad lock screen no longer opens the camera, the quick launch gesture may have been disabled in your…
- iPhone How to Show App Labels Customize Home Screen – If the names beneath your iPhone app icons disappeared after updating, your icons were switched to the large view.
- iPad How to Make App Icons Bigger on Home Screen – If small app icons on your iPad are difficult to see or tap with your fingers, you can make them larger with a single setting.
- DaVinci Resolve Speed Editor – Browse more tutorials and practical guides in this section.






Leave a Reply