Removing copilot

This commit is contained in:
2025-09-05 11:46:21 -04:00
parent 6d4cae8238
commit 417f466cd4
3 changed files with 16 additions and 12 deletions

View File

@@ -34,7 +34,7 @@ cmp.setup({
}), }),
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = "nvim_lua" }, { name = "nvim_lua" },
{ name = "copilot", group_index = 3 }, -- { name = "copilot", group_index = 3 },
{ name = "nvim_lsp", group_index = 1 }, { name = "nvim_lsp", group_index = 1 },
{ name = "path", group_index = 3 }, { name = "path", group_index = 3 },
{ name = "luasnip", group_index = 2 }, { name = "luasnip", group_index = 2 },

View File

@@ -85,11 +85,6 @@ vim.keymap.set("n", "<M-x>=", ":vertical resize +5<CR>", { desc = "Increase Wind
vim.keymap.set("n", "<M-x>-"," :vertical resize -5<CR>", { desc = "Decrease Window Width"}) vim.keymap.set("n", "<M-x>-"," :vertical resize -5<CR>", { desc = "Decrease Window Width"})
vim.keymap.set("n", "<M-x>+", ":resize +5<CR>", { desc = "Increase Window Height"}) vim.keymap.set("n", "<M-x>+", ":resize +5<CR>", { desc = "Increase Window Height"})
vim.keymap.set("n", "<M-x>_", ":resize -5<CR>", { desc = "Decrease Window Height"}) vim.keymap.set("n", "<M-x>_", ":resize -5<CR>", { desc = "Decrease Window Height"})
vim.keymap.set("n", "<M-x>Left", ":vertical resize -5<CR>", { desc = "Decrease Window Width"})
vim.keymap.set("n", "<M-x>Right"," :vertical resize +5<CR>", { desc = "Increase Window Width"})
vim.keymap.set("n", "<M-x>Up", ":resize +5<CR>", { desc = "Increase Window Height"})
vim.keymap.set("n", "<M-x>Down", ":resize -5<CR>", { desc = "Decrease Window Height"})
vim.keymap.set("n", "<M-x>Enter", ":ToggleTerm<CR>", { desc = "Toggle Terminal"})
-- CTRL X Maps -- CTRL X Maps
@@ -106,7 +101,17 @@ vim.keymap.set("n", "<C-x><C-n>u", "<cmd>TWUpdateCurrent<cr>", { desc="Update Ta
vim.keymap.set("n", "<C-x><C-n>s", "<cmd>TWSyncTasks<cr>", { desc = "Sync Tasks", noremap = true, silent = true }) vim.keymap.set("n", "<C-x><C-n>s", "<cmd>TWSyncTasks<cr>", { desc = "Sync Tasks", noremap = true, silent = true })
vim.keymap.set("n", "<C-x><C-n><c-space>", "<cmd>TWToggle<cr>", { desc = "Toggle Taskwarrior", silent = true }) vim.keymap.set("n", "<C-x><C-n><c-space>", "<cmd>TWToggle<cr>", { desc = "Toggle Taskwarrior", silent = true })
vim.keymap.set("v", "<C-;><C-c>", ":'<,'>SnipRun<CR>", { silent = true, desc = "Run Selection" }) -- FN Keys --
vim.keymap.set("n", "<C-;><C-c>", ":<Plug>SnipRun<CR>", { desc = "Run Current Line" }) vim.keymap.set("n", "<F1>", ":nohlsearch<CR>", { desc = "Clear Search Highlight"})
vim.keymap.set("n", "<C-;><C-b>", ":%SnipRun<CR>", { desc = "Run Buffer" }) vim.keymap.set("n", "<F2>", ":UndotreeToggle<CR>", { desc = "Undo Tree Toggle"})
vim.keymap.set("n", "<C-;><C-k>", "<Plug>SnipReset<CR>", { desc = "Run Buffer" }) vim.keymap.set("n", "<F3>", ":Ranger<CR>", { desc = "Ranger"})
vim.keymap.set("n", "<c-F3>", ":RangerNewTab<CR>", { desc = "Ranger New Tab"})
-- vim.keymap.set("n", "<F4>", ":q<CR>", { desc = "Quit"})
-- vim.keymap.set("n", "<F5>", ":bd<CR>", { desc = "Close Buffer"})
-- vim.keymap.set("n", "<F6>", ":tabnew<CR>", { desc = "New Tab"})
-- vim.keymap.set("n", "<F7>", ":tabclose<CR>", { desc = "Close Tab"})
-- vim.keymap.set("n", "<F8>", ":tabnext<CR>", { desc = "Next Tab"})
vim.keymap.set("n", "<F9>", ":Telescope live_grep<CR>", { desc = "Live Grep"})
-- vim.keymap.set("n", "<F10>", ":b#<CR>", { desc = "Last Buffer"})
vim.keymap.set("n", "<F11>", ":setlocal spell! spelllang=en_us<CR>", { desc = "Toggle Spell Check"})
vim.keymap.set("n", "<F12>", ":setlocal wrap!<CR>", { desc = "Toggle Line Wrap"})

View File

@@ -25,7 +25,7 @@ vim.pack.add({
{ src = "https://github.com/hrsh7th/cmp-cmdline" }, { src = "https://github.com/hrsh7th/cmp-cmdline" },
{ src = "https://github.com/hrsh7th/cmp-nvim-lua" }, { src = "https://github.com/hrsh7th/cmp-nvim-lua" },
{ src = "https://github.com/saadparwaiz1/cmp_luasnip" }, { src = "https://github.com/saadparwaiz1/cmp_luasnip" },
{ src = "https://github.com/github/copilot.vim" }, -- { src = "https://github.com/github/copilot.vim" },
{ src = "https://github.com/pysan3/pathlib.nvim" }, { src = "https://github.com/pysan3/pathlib.nvim" },
{ src = "https://github.com/nvim-orgmode/org-bullets.nvim" }, { src = "https://github.com/nvim-orgmode/org-bullets.nvim" },
{ src = "https://github.com/lukas-reineke/headlines.nvim" }, { src = "https://github.com/lukas-reineke/headlines.nvim" },
@@ -136,4 +136,3 @@ require('noice').setup({
lsp_doc_border = false, -- add a border to hover docs and signature help lsp_doc_border = false, -- add a border to hover docs and signature help
}, },
}) })