zterm support

This commit is contained in:
Zacharias-Brohn
2025-12-15 22:57:49 +01:00
parent 820c2c1207
commit 4e79b98122
6 changed files with 25 additions and 23 deletions
+5 -21
View File
@@ -9,27 +9,6 @@ map("n", ";", ":", { desc = "CMD enter command mode" })
map("v", "<C-Up>", ":m '<-2<CR>gv=gv", { desc = "Move selected text up" })
map("v", "<C-Down>", ":m '>+1<CR>gv=gv", { desc = "Move selected text down" })
-- Alt + Arrow Key to change buffer
map(
"n",
"<A-Left>",
"<cmd>KittyNavigateLeft<CR>",
{ desc = "Move to left split" }
)
map(
"n",
"<A-Down>",
"<cmd>KittyNavigateDown<CR>",
{ desc = "Move to bottom split" }
)
map("n", "<A-Up>", "<cmd>KittyNavigateUp<CR>", { desc = "Move to top split" })
map(
"n",
"<A-Right>",
"<cmd>KittyNavigateRight<CR>",
{ desc = "Move to right split" }
)
-- Copilot Chat buffer
map("n", "<A-c>", vim.cmd.CopilotChatToggle)
map("i", "<A-c>", vim.cmd.CopilotChatToggle)
@@ -109,6 +88,11 @@ map("n", "<leader>gb", function()
Snacks.gitbrowse.open()
end)
-- Notif history
map("n", "<leader>n", function()
Snacks.notifier.show_history()
end)
-- Actions Previewer
map({ "n", "v" }, "<leader>ap", require("actions-preview").code_actions)