Yeet llm related core
This commit is contained in:
parent
60737db7b2
commit
e13b2a00d6
1 changed files with 0 additions and 13 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue