sudo pacman -Syu 2024-05-17 10:42:44 +07:00
parent 753e04f1ea
commit 6c2858d8fb
2 changed files with 8 additions and 2 deletions

View File

@ -98,7 +98,7 @@
:<span class="pl-c1">v</span><span class="pl-sr">/word/</span><span class="pl-c1">d</span></pre> :<span class="pl-c1">v</span><span class="pl-sr">/word/</span><span class="pl-c1">d</span></pre>
</div> </div>
<p>Play macro (after selecting lines):</p> <p>Play macro <code>a</code> (after selecting lines):</p>
<div class="highlight highlight-source-viml"> <div class="highlight highlight-source-viml">
<pre>:norm<span class="pl-k">!</span> <span class="pl-smi">@a</span></pre> <pre>:norm<span class="pl-k">!</span> <span class="pl-smi">@a</span></pre>
</div> </div>
@ -195,7 +195,10 @@
<li> <li>
<p>Native neovim:</p> <p>Native neovim:</p>
<ul> <ul>
<li><code>gx</code>: open file/url under cursor</li>
<li><code>Q</code>, <code>@</code>: execute last macro</li>
<li><code>]d</code>, <code>[d</code>: next/previous diagnostic</li> <li><code>]d</code>, <code>[d</code>: next/previous diagnostic</li>
<li><code>K</code>: hover</li>
</ul> </ul>
</li> </li>
<li> <li>

View File

@ -34,7 +34,7 @@ Delete all lines **not** contain word:
:v/word/d :v/word/d
``` ```
Play macro (after selecting lines): Play macro `a` (after selecting lines):
```vim ```vim
:norm! @a :norm! @a
@ -99,7 +99,10 @@ Ground rules:
- `<Space>` prefix: prefer lsp keymap, for coding of course :D - `<Space>` prefix: prefer lsp keymap, for coding of course :D
- Native neovim: - Native neovim:
- `gx`: open file/url under cursor
- `Q`, `@`: execute last macro
- `]d`, `[d`: next/previous diagnostic - `]d`, `[d`: next/previous diagnostic
- `K`: hover
- Black hole register: - Black hole register:
- `<Leader>d`: `d` without yank - `<Leader>d`: `d` without yank
- `<Leader>c`: `c` without yank - `<Leader>c`: `c` without yank