learn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn [2024/04/09 19:32] – Added tmux resize window recipe dblume | learn [2025/08/08 10:21] (current) – [CoPilotChat in vim] dblume | ||
---|---|---|---|
Line 2: | Line 2: | ||
Things to learn through repetition. | Things to learn through repetition. | ||
+ | |||
+ | ===== CoPilotChat in vim ===== | ||
+ | |||
+ | Shortcut to official [[https:// | ||
+ | |||
+ | ^ Insert ^ Normal ^ Action ^ | ||
+ | | <Tab> | - | Trigger/ | ||
+ | | <C-s> | < | ||
+ | | - | grr | Toggle sticky prompt for line under cursor | | ||
+ | | - | grx | Clear all sticky prompts in prompt | | ||
+ | | <C-c> | q | Close the chat window | | ||
+ | | <C-l> | <C-l> | Reset and clear the chat window | | ||
+ | | <C-y> | <C-y> | Accept nearest diff | | ||
+ | | - | gj | Jump to section of nearest diff | | ||
+ | | - | gqa | Add all answers from chat to quickfix list | | ||
+ | | - | gqd | Add all diffs from chat to quickfix list | | ||
+ | | - | gy | Yank nearest diff to register | | ||
+ | | - | gd | Show diff between source and nearest diff | | ||
+ | | - | gi | Show info about current chat | | ||
+ | | - | gc | Show current chat context | | ||
+ | | - | gh | Show help message | | ||
+ | |||
+ | GitHub Copilot' | ||
+ | |||
+ | ^ Insert ^ Action ^ | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | |||
+ | |||
+ | |||
+ | ===== LSP in vim ===== | ||
+ | |||
+ | ^ Insert ^ Normal ^ Action ^ | ||
+ | | | ]d, [d, | Next/Prev diagnostic | | ||
+ | | | < | ||
+ | | | gra | if " | ||
+ | | | K | hover window (details on selected word) | | ||
+ | | | ]q, [q, :ccl | Next/Prev close QuickFix List | | ||
+ | | | ]l, [l, :lcl | Next/Prev close Location List | | ||
+ | | | gq< | ||
+ | | | < | ||
===== CLI/UI Navigation (vim / tmux / i3) ===== | ===== CLI/UI Navigation (vim / tmux / i3) ===== |
learn.1712716328.txt.gz · Last modified: 2024/04/09 19:32 by dblume