User Tools

Site Tools


learn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learn [2025/07/25 00:48] – [LSP in vim] dblumelearn [2025/08/08 10:21] (current) – [CoPilotChat in vim] dblume
Line 9: Line 9:
 ^ Insert ^ Normal ^ Action ^ ^ Insert ^ Normal ^ Action ^
 | <Tab> | -     | Trigger/accept completion menu for tokens | | <Tab> | -     | Trigger/accept completion menu for tokens |
-| <C-c> | q     | Close the chat window | 
-| <C-l> | <C-l> | Reset and clear the chat window | 
 | <C-s> | <CR>  | Submit the current prompt | | <C-s> | <CR>  | Submit the current prompt |
 | -     | grr   | Toggle sticky prompt for line under cursor | | -     | grr   | Toggle sticky prompt for line under cursor |
 | -     | grx   | Clear all sticky prompts in prompt | | -     | 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 | | <C-y> | <C-y> | Accept nearest diff |
 | -     | gj    | Jump to section of nearest diff | | -     | gj    | Jump to section of nearest diff |
Line 23: Line 23:
 | -     | gc    | Show current chat context | | -     | gc    | Show current chat context |
 | -     | gh    | Show help message | | -     | gh    | Show help message |
 +
 +GitHub Copilot's Suggestions:
 +
 +^ Insert ^ Action ^
 +| <C-]>       | Dismiss the current suggestion. |
 +| <M-]>, <M-[> | Cycle to the next/prev suggestion, if one is available. |
 +| <M-Right>   | Accept the **next word** of the current suggestion. |
 +| <M-C-Right> | Accept the next line of the current suggestion. |
 +| <M-\>       | Explicitly request a suggestion. |
 +
  
  
Line 30: Line 40:
 | | ]d, [d,   | Next/Prev diagnostic | | | ]d, [d,   | Next/Prev diagnostic |
 | | <C-w>d, <leader> | Show diagnostic popup   | | | <C-w>d, <leader> | Show diagnostic popup   |
-| | K | hover window |+| | gra | if "(fixes available)" then [[https://neovim.io/doc/user/lsp.html#_global-defaults|code actions]] appear at bottom | 
 +| | K | hover window (details on selected word) |
 | | ]q, [q, :ccl  | Next/Prev close QuickFix List   | | | ]q, [q, :ccl  | Next/Prev close QuickFix List   |
 | | ]l, [l, :lcl  | Next/Prev close Location List  | | | ]l, [l, :lcl  | Next/Prev close Location List  |
learn.1753429730.txt.gz · Last modified: 2025/07/25 00:48 by dblume