This commit is contained in:
Anmol Pandita 2022-05-22 15:30:24 +05:30
parent 3c3db0c235
commit 92f54d6a45

View File

@ -2,11 +2,10 @@
title: "Vim - The Personal Man"
tags:
- vim
enableToc: true
---
# Navigation 👻
## Exiting
## Navigation 👻
### Exiting
| | |
| --------------- | ------------------------------------- |
| :q | to `quit` the file |
@ -14,7 +13,7 @@ enableToc: true
| :q! | to `trash` all changes and **quit** |
| :wq | to `save` the changes and **quit** |
| ZZ (Shift + zz) | to `save` the changes and **quit** |
## Movements
### Movements
| | |
| ---------------------------------- | -------------------------------------------- |
| h j k l | ⃪ ↓ ↑ → |
@ -30,7 +29,7 @@ enableToc: true
| % | to **matching parenthesis {} () []** |
| zz | re-center |
# Text manipulation
## Text manipulation
| | |
| ------------------------------------ | ---------------------------------------------------- |
| x | **delete** *`at`* the cursor (→ in normal mode still) |