multimico / cluster

This repository contains all relevant information for our multimico edge cluster
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

vi cheat sheet/ survival kit #16

Open phish108 opened 2 years ago

phish108 commented 2 years ago

vi distinguishes between edit mode and command mode. When starting vi it will launch into command mode.

Undo and Redo

Writing and quitting

Editing

Deleting and Copy and Paste

Delete multiple lines by adding the number of lines before dd. E.g., 6dd deletes 6 lines.

Search

Search commands do not affect undo and repeat commands.

Search and replace

Search and replace commands do affect undo and repeat commands.

Moving the cursor