Skip to content

Commit

Permalink
chore: add refresh mapping
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <[email protected]>
  • Loading branch information
aarnphm committed Aug 17, 2024
1 parent 83ba8be commit 3fa57d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lua/avante/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ M.defaults = {
mappings = {
ask = "<leader>aa",
edit = "<leader>ae",
refresh = "<leader>ar",
diff = {
ours = "co",
theirs = "ct",
Expand Down
1 change: 1 addition & 0 deletions lua/avante/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ end

H.keymaps = function()
vim.keymap.set({ "n", "v" }, Config.mappings.ask, M.toggle, { noremap = true })
vim.keymap.set("n", Config.mappings.refresh, M.refresh, { noremap = true })
end

H.autocmds = function()
Expand Down

0 comments on commit 3fa57d7

Please sign in to comment.