From 6c2858d8fb17723a356ce71844a3dcfaad0571c1 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Fri, 17 May 2024 10:42:44 +0700 Subject: [PATCH] feat(nvim): more keys Thanks https://gpanders.com/blog/whats-new-in-neovim-0.10/ --- docs/2023-05-03-neovim.html | 5 ++++- posts/2023-05-03-neovim.md | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/2023-05-03-neovim.html b/docs/2023-05-03-neovim.html index aee4132..b0a1e39 100644 --- a/docs/2023-05-03-neovim.html +++ b/docs/2023-05-03-neovim.html @@ -98,7 +98,7 @@ :v/word/d -

Play macro (after selecting lines):

+

Play macro a (after selecting lines):

:norm! @a
@@ -195,7 +195,10 @@
  • Native neovim:

  • diff --git a/posts/2023-05-03-neovim.md b/posts/2023-05-03-neovim.md index 8f45649..17a29c5 100644 --- a/posts/2023-05-03-neovim.md +++ b/posts/2023-05-03-neovim.md @@ -34,7 +34,7 @@ Delete all lines **not** contain word: :v/word/d ``` -Play macro (after selecting lines): +Play macro `a` (after selecting lines): ```vim :norm! @a @@ -99,7 +99,10 @@ Ground rules: - `` prefix: prefer lsp keymap, for coding of course :D - Native neovim: + - `gx`: open file/url under cursor + - `Q`, `@`: execute last macro - `]d`, `[d`: next/previous diagnostic + - `K`: hover - Black hole register: - `d`: `d` without yank - `c`: `c` without yank