added harpoon binds with telescope search and quick menu

main
spinach 2 years ago
parent 360a8c5dfb
commit e2de9dc3bc

@ -37,9 +37,9 @@ vim.keymap.set('n', '<leader>pg', '"+p')
-- toggle dotfiles visibility
vim.keymap.set("n", "<leader>d", ":lua require('nvim-tree.api').tree.toggle_hidden_filter()<CR>")
-- local harpoon = require('harpoon')
-- harpoon bindings
vim.keymap.set("n", "<leader>hh", ":Telescope harpoon marks<CR>")
vim.keymap.set("n", "<leader>hs", ":Telescope harpoon marks<CR>")
vim.keymap.set("n", "<leader>hh", ":lua require('harpoon.ui).toggle_quick_menu()<CR>")
vim.keymap.set("n", "<leader>ha", ":lua require('harpoon.mark').add_file()<CR>")
--vim.keymap.set("n", "<leader>ha", harpoon.mark.add_file, {})
vim.keymap.set("n", "<leader>hn", ":lua require('harpoon.ui').nav_next()<CR>")

@ -44,7 +44,7 @@ vim.api.nvim_create_autocmd({ "VimEnter" }, { callback = open_nvim_tree, })
require('telescope').setup({
defaults = {
layout_config = {
horizontal = { width = 0.5 }
horizontal = { width = 0.8 }
},
},
})

Loading…
Cancel
Save