1
0
Fork 0

nvim: add harpoon

This commit is contained in:
tastytea 2022-11-14 12:26:25 +01:00
parent ab66cedfb8
commit 8b4730420d
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 10 additions and 0 deletions

View File

@ -151,6 +151,12 @@ require('packer').startup({ function(use)
'https://github.com/gaoDean/autolist.nvim',
tag = '*'
}
use {
'https://github.com/ThePrimeagen/harpoon',
requires = {
'https://github.com/nvim-lua/plenary.nvim'
}
}
-- coding
use {

View File

@ -151,3 +151,7 @@ require('notify').setup({
vim.notify = require('notify')
require('autolist').setup({})
require('which-key').register({ ['<Leader>j'] = { name = 'Jump' } })
map('n', '<Leader>ja', require('harpoon.mark').add_file, 'Add file')
map('n', '<Leader>jm', require('harpoon.ui').toggle_quick_menu, 'Quick menu')