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
learn [2025/07/25 14:25] – [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. |
 +
  
  
learn.txt · Last modified: 2025/08/08 10:21 by dblume