Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 906 Bytes

basicedition.md

File metadata and controls

57 lines (41 loc) · 906 Bytes

toc

Basic Edition

In this paragraph I cover the very basic task:

  • Open a File
  • Save a File
  • Quit Vim
  • Move in the Text
  • Insert Text
  • Delete Text
  • Change Text
  • Copy & Paste
  • Scroll
  • Switch to a File
  • Search in File
  • Search in Files
  • Replace in Files
  • Undo & Redo
  • Repeat

Open a File

There are

Basic

How to quit Vim?

How to save your changes?

Code Signification
:q! Force quit window
:q Quit window
:w Save buffer
:bd Close buffer
:bd! Force close buffer

Modes

  • Normal (Esc, Ctrl-[)
  • Insert (i, A, c, ...)
  • Visual (v)
  • Visual Line (Shift-v)
  • Visual Block (Ctrl-v)
  • Command (:)
  • Replace (R)

Insert a State Diagram

Ctrl-^ Equivalent to esc