require("nvchad.mappings") -- add yours here local map = vim.keymap.set local builtin = require("telescope.builtin") local nomap = vim.keymap.del local nvim_tmux_nav = require("nvim-tmux-navigation") map("n", ";", ":", { desc = "CMD enter command mode" }) map("i", "jk", "") map("n", "tt", function() require("base46").toggle_transparency() end, { desc = "Toggle transparency" }) map("i", "", function() vim.fn.feedkeys(vim.fn["copilot#Accept"](), "") end, { desc = "Copilot Accept", silent = true, nowait = true, expr = true, noremap = true }) map("n", "@c", function() require("CopilotChat").open() end, { desc = "Copilot chat" }) map("n", "@p", function() require("copilot.panel").open() end, { desc = "Copilot chat" }) map("n", "@d", function() require("copilot.panel").ask("Create documentation for the this code") end, { desc = "Copilot chat" }) map("n", "si", function() builtin.lsp_document_symbols() end, { desc = "LSP Definitions" }) map("n", "sd", function() builtin.lsp_definitions() end, { desc = "LSP Definitions" }) map("n", "sr", function() builtin.lsp_references() end, { desc = "LSP References" }) map("n", "ss", function() builtin.lsp_workspace_symbols() end, { desc = "LSP workspace symbols" }) nomap("n", "h") nomap("n", "v") map("n", "", nvim_tmux_nav.NvimTmuxNavigateLeft, { desc = "Navigate left" }) map("n", "", nvim_tmux_nav.NvimTmuxNavigateDown, { desc = "Navigate down" }) map("n", "", nvim_tmux_nav.NvimTmuxNavigateUp, { desc = "Navigate up" }) map("n", "", nvim_tmux_nav.NvimTmuxNavigateRight, { desc = "Navigate right" })