Skip to content

Commit

Permalink
Document copilot key mapping, aa is also easier
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Oct 21, 2024
1 parent 2cb2486 commit 19dd3dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ lvim.plugins = {
{ "<leader>al", "<cmd>CopilotChatReset<cr>", desc = "CopilotChat - Clear buffer and chat history" },
-- Toggle Copilot Chat Vsplit
{ "<leader>av", "<cmd>CopilotChatToggle<cr>", desc = "CopilotChat - Toggle" },
-- Also toggle, easier to type
{ "<leader>aa", "<cmd>CopilotChatToggle<cr>", desc = "CopilotChat - Toggle" },
-- Copilot Chat Models
{ "<leader>a?", "<cmd>CopilotChatModels<cr>", desc = "CopilotChat - Select Models" },
},
Expand Down
5 changes: 3 additions & 2 deletions trees/uts-002F.tree
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,10 @@ Here are some useful keys that I like using in NeoVim, with [my LunarVim configu
- `gj` to open the job under cursor, see also [other keys](https://github.com/topaxi/gh-actions.nvim?tab=readme-ov-file#keybindings)
- AI Chats
- Github Copilot
- `:CopilotChat` can be triggered by `:Co<tab>C<Tab><CR>`
- `<leader>+aa` to toggle the chat, `<leader>+al` to clear chat history
- **e**xplain, **r**eview, **R**factor, **t**est, **d**ebug, **f**ix, co**m**mit log, **n**aming etc.
- `C-s` to send the prompt
- Avante
- Avante (disabled)
- `<leader>+aa` to open the chat, use `a` to accept individual suggestions, or `A` to accept all
- select code and `<leader>+ae` to modify code
- Octo
Expand Down

0 comments on commit 19dd3dc

Please sign in to comment.