ZZ is a shortcut that does the same as :x (Save workspace and quit the editor),.:x Enter (same as :wq, but will not write if the file was not changed),.:wq Enter (shorthand for :write and :quit),.:cq Enter quit and return error (discard all changes so the compiler will not recompile this file).ZQ is a shortcut that does the same as :q!,.:q! Enter to force exit and discard changes (short for :quit!, not to be confused with :!q),.:q Enter (will prevent you from exiting if you have unsaved changes - short for :quit).In order to exit Vim, first make sure you are in Normal mode by pressing Esc. vglobal: Execute commands on lines that do not match globally.Useful configurations that can be put in.Get :help (using Vim's built-in manual).Converting text files from DOS to UNIX with vi. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |