Working with Vim Editor
Last updated
Last updated
▪ Vi and Vim are built-in text editors in Linux
▪ Vi is by far the most distributed and used text editor in Linux
▪ Depending on your Linux distro, Vim may or may not be installed
▪ Vim (Vi IMproved) is an improved version of Vi
▪ Built to make creating and changing any kind of text very efficient
▪ Small modifications can be faster, especially when you are currently working in the CLI
▪ Faster to create and edit at the same time
▪ Supports multiple formats
▪ When working on a server
Vim has 2 modes:
▪ Command Mode
▪ Insert Mode
▪ This is the default mode
▪ You can't edit the text
▪ Whatever you type is interpreted as a command
▪ Navigate, Search, Delete, Undo, etc.
▪ Allows you to enter text
▪ Pressing Escape, switches you back to command mode