main
Dominik Madarász 2024-11-13 14:06:52 +01:00
parent 73920b0bd0
commit 659651aa54
2 changed files with 6 additions and 3 deletions

View File

@ -4,6 +4,6 @@ local ui = require("harpoon.ui")
vim.keymap.set("n", "<leader>a", mark.add_file) vim.keymap.set("n", "<leader>a", mark.add_file)
vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu) vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu)
vim.keymap.set("n", "<C-h>", function() ui.nav_file(1) end) vim.keymap.set("n", "<C-S-h>", function() ui.nav_file(1) end)
vim.keymap.set("n", "<C-j>", function() ui.nav_file(2) end) vim.keymap.set("n", "<C-S-j>", function() ui.nav_file(2) end)
vim.keymap.set("n", "<C-k>", function() ui.nav_file(3) end) vim.keymap.set("n", "<C-S-k>", function() ui.nav_file(3) end)

View File

@ -23,6 +23,9 @@ cmp.setup({
{name = 'cmp-buffer'}, {name = 'cmp-buffer'},
{name = 'cmp-path'}, {name = 'cmp-path'},
{name = 'copilot'}, {name = 'copilot'},
{name = 'buffer'},
{name = 'path'},
{name = 'treesitter'},
}, },
mapping = cmp.mapping.preset.insert({ mapping = cmp.mapping.preset.insert({
['<C-p>'] = cmp.mapping.select_prev_item(cmp_select), ['<C-p>'] = cmp.mapping.select_prev_item(cmp_select),