You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
588 B

  1. local mark = require("harpoon.mark")
  2. local ui = require("harpoon.ui")
  3. vim.keymap.set('n', '<leader>a', mark.add_file)
  4. vim.keymap.set('n', '<leader>th', mark.toggle_file)
  5. vim.keymap.set('n', '<C-e>', ui.toggle_quick_menu)
  6. vim.keymap.set('n', '<C-h>', function () ui.nav_file(1) end)
  7. vim.keymap.set('n', '<C-j>', function () ui.nav_file(2) end)
  8. vim.keymap.set('n', '<C-k>', function () ui.nav_file(3) end)
  9. vim.keymap.set('n', '<C-l>', function () ui.nav_file(4) end)
  10. vim.keymap.set('n', '<C-,>', function () ui.nav_prev() end)
  11. vim.keymap.set('n', '<C-.>', function () ui.nav_next() end)