Yeet llm related core

This commit is contained in:
Imbus 2024-12-29 12:44:28 +01:00
parent 60737db7b2
commit e13b2a00d6

View file

@ -84,19 +84,6 @@ vim.keymap.set('n', '<leader><tab>[', '<cmd>tabprevious<cr>', { desc = 'Previous
vim.keymap.set('n', '\\', '<cmd>Neotree toggle<cr>', { desc = 'Toggle Neotree' }) vim.keymap.set('n', '\\', '<cmd>Neotree toggle<cr>', { desc = 'Toggle Neotree' })
vim.keymap.set('n', '0', '<cmd>ToggleTerm<cr>', { desc = 'Toggle Terminal' }) vim.keymap.set('n', '0', '<cmd>ToggleTerm<cr>', { desc = 'Toggle Terminal' })
-- Toggle LLM Suggestions
vim.keymap.set('n', '<leader>tt', function()
local cp = require 'copilot.suggestion'
cp.toggle_auto_trigger()
if vim.b.copilot_suggestion_auto_trigger then
vim.notify 'Suggestions Enabled'
else
vim.notify 'Suggestions Disabled'
end
end, { desc = '[T]oggle LLM Suggestion Auto-[T]rigger' })
-- Define a function to wrap lines to 80 columns -- Define a function to wrap lines to 80 columns
vim.keymap.set('n', '<leader>dw', function() vim.keymap.set('n', '<leader>dw', function()
-- Save the current 'textwidth' setting -- Save the current 'textwidth' setting