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
+2
View File
@@ -39,3 +39,5 @@ vim.filetype.add {
[".*/uwsm/env.*"] = "zsh",
},
}
vim.cmd "colorscheme tokyonight"
-2
View File
@@ -40,5 +40,3 @@ require("github-theme").setup {
specs = {},
groups = {},
}
vim.cmd "colorscheme github_dark"
+6
View File
@@ -0,0 +1,6 @@
require("zterm-navigator").setup {
left = "<A-Left>",
right = "<A-Right>",
up = "<A-Up>",
down = "<A-Down>",
}
+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)
+6
View File
@@ -56,4 +56,10 @@ return {
vim.g.minimal_italic_keywords = true
end,
},
{
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
opts = {},
},
}
+6
View File
@@ -296,4 +296,10 @@ return {
require "config.scrollbar"
end,
},
{
"Zacharias-Brohn/zterm-navigator.nvim",
config = function()
require "config.zterm-navigator"
end,
},
}