From 26038310337586ebe816e5396f00a77b3d78658f Mon Sep 17 00:00:00 2001 From: Anmol Pandita <39385082+anmolpandita1@users.noreply.github.com> Date: Sun, 8 May 2022 16:08:46 +0530 Subject: [PATCH] update vim --- content/notes/vim.md | 15 +++++++++++++++ data/config.yaml | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/content/notes/vim.md b/content/notes/vim.md index 8e50ac5ff..07e756115 100644 --- a/content/notes/vim.md +++ b/content/notes/vim.md @@ -14,6 +14,21 @@ tags: | ZZ (Shift + zz) | to `save` the changes and **quit** | +# Navigation +| | | +| ---------------------------------- | -------------------------------------------- | +| h j k l | ⃪ ↓ ↑ → | +| 0 | to the `start` of the line | +| $ (Shit + 4) | to the `end` of the line | +| e | to `end` of word | +| w | `forward` one **word** | +| W | `forward` one **Word** | +| b | `backward` one **word** | +| B | `backword` one **Word** | +| *(`number`)* wW / e / bB / h j k l | Move *(`number`)* times *(`text` `objects`)* | +| (number) G | to **specific line** | +| % | to **matching parenthesis {} () []** | +| zz | re-center | diff --git a/data/config.yaml b/data/config.yaml index da884d1fb..80a2beec4 100644 --- a/data/config.yaml +++ b/data/config.yaml @@ -1,4 +1,4 @@ -name: anmolpandita +name: Anmol enableToc: true openToc: false enableLinkPreview: true