nvim: add harpoon
This commit is contained in:
parent
ab66cedfb8
commit
8b4730420d
|
@ -151,6 +151,12 @@ require('packer').startup({ function(use)
|
||||||
'https://github.com/gaoDean/autolist.nvim',
|
'https://github.com/gaoDean/autolist.nvim',
|
||||||
tag = '*'
|
tag = '*'
|
||||||
}
|
}
|
||||||
|
use {
|
||||||
|
'https://github.com/ThePrimeagen/harpoon',
|
||||||
|
requires = {
|
||||||
|
'https://github.com/nvim-lua/plenary.nvim'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
-- coding
|
-- coding
|
||||||
use {
|
use {
|
||||||
|
|
|
@ -151,3 +151,7 @@ require('notify').setup({
|
||||||
vim.notify = require('notify')
|
vim.notify = require('notify')
|
||||||
|
|
||||||
require('autolist').setup({})
|
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')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user