VIM Command Reference

This section provides a concise reference to common VIM commands.

  • wq!: Writes (saves) and quits.

    • Usage: :wq! (saves changes and exits VIM)
  • q!: Quits without saving.

    • Usage: :q! (exits VIM without saving changes)
  • :: Starts a command in VIM.

    • Usage: :/word (searches for "word" in VIM)