notes/util/editors/vim/vim-options-cmd-line.txt
Ihar Hancharenka 9685f30a41 m
2025-04-03 11:30:33 +03:00

18 строки
615 B
Plaintext

-y - Easy
-R - Read-only
-r - Recover from a system crash
-b - Edit binary
-c cmd - Execute ex cmd
-E - Start in improved ex mode (extended regexps)
-m - Turn of write options (buffers will be not modifiable)
-o/O[N] - Open files in separate vindows (horizontal/vertical split).
Preallocate N windows (if N specified).
-p - Open files in separate tab pates -//-.
Note: wild-cards can be used like *.cpp
+ sometimes could be expressed as "-c "
+n - Open file at line number n
+/pattern - open file at first occurence of pattern