:w :q :wq :q!These are the basic file lifecycle commands.
Use the command line efficiently, navigate help, and save working context with sessions.
Run editor commands, shell actions, and file operations.
:w :q :wq :q!These are the basic file lifecycle commands.
:read !dateOften abbreviated as `:r !command`.
:!lsUseful for quick file, git, and build checks.
q:Makes searching and rerunning prior Ex commands much easier.
Use `:help` like a searchable offline manual.
:help registersThe help system is one of Vim’s strongest built-in resources.
:help CTRL-WMany key topics use a specific help-tag style.
KUseful when the cursor is on a command or option name.
Persist and restore multi-file workspaces.
:mksession! Session.vimSessions are excellent for larger review or debugging tasks.
nvim -S Session.vim
vim -S Session.vimBoth editors can start by sourcing a session file.
Populate and navigate an arglist for multi-file tasks.
:args *.ts :next :prevGreat for repetitive search-and-edit workflows across many files.