add(starship): hinted path

This commit is contained in:
Léana 江 2023-04-26 12:51:22 +02:00 committed by Léana 江
parent 804fbc9a3a
commit f12a9fae4e
6 changed files with 97 additions and 27 deletions

View file

@ -4,8 +4,8 @@ local ui = require "harpoon.ui"
local mark = require "harpoon.mark"
-- add and view
vim.keymap.set({ 'n', 'i' }, '<A-a>', function() mark.add_file() end, { desc = "add file to harpoon" })
vim.keymap.set({ 'n', 'i' }, '<A-e>', function() ui.toggle_quick_menu() end, { desc = "show harpoon menu" })
vim.keymap.set({ 'n', 'i' }, '<A-c>', function() mark.add_file() end, { desc = "add file to harpoon" })
vim.keymap.set({ 'n', 'i' }, '<A-g>', function() ui.toggle_quick_menu() end, { desc = "show harpoon menu" })
-- switch it up!
vim.keymap.set({ 'n', 'i' }, '<A-h>', function() ui.nav_file(1) end, { desc = "harpoon 1 (the magic finger)" })