What is VIM Editor
A free text editor based on the older vi. It is now a powerful text editor
with complete freedom of customization and automation made possible by
extensions and add-ons. Vim's user interface can run in pure text mode.
Installation:
apt install vim
Launch:
vim file1
• Options:
+number - move the cursor to the specified line after launch.
+/pattern - search for the pattern and move the cursor to the first
occurrence
"+command" - execute a command after starting the program
-b - binary mode, for editing executable files.
-d - search mode for differences in files, you need to specify several
files to open.
-g - graphics mode.
-n Do not use autosave to restore the file on crash.
-R - read-only mode.
-w - save all actions to a file.
-x Encrypt file on write.
-C - Vi compatibility mode.