diff --git a/init.lua b/init.lua index 036eefb..9fc6866 100644 --- a/init.lua +++ b/init.lua @@ -161,6 +161,12 @@ vim.opt.scrolloff = 10 vim.opt.hlsearch = true vim.keymap.set('n', '', 'nohlsearch') +vim.keymap.set('n', '', ':lua require("harpoon.mark").add_file()') +vim.keymap.set('n', '', ':lua require("harpoon.mark").rm_file()') +vim.keymap.set('n', '', ':lua require("harpoon.ui").toggle_quick_menu()') +vim.keymap.set('n', '', ":call fzf#run({'source': 'find . ! -name *.o ! -path \"./.*\"', 'sink': 'e'})") +vim.keymap.set('n', '', '') + -- Diagnostic keymaps vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' }) vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagnostic message' }) @@ -227,6 +233,10 @@ vim.opt.rtp:prepend(lazypath) require('lazy').setup({ -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). 'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically + 'nvim-lua/plenary.nvim', + 'ThePrimeagen/harpoon', + 'neoclide/coc.nvim', + 'junegunn/fzf', -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following