From 82dfa08011571d10ea4d0dec84c35b041abc7bf0 Mon Sep 17 00:00:00 2001 From: Valentin Degenne Date: Sat, 14 Sep 2024 14:28:32 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 44e8ebd6..615dec48 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,9 @@ tmux windows, or dream up your own custom action and execute with a single key 1. Unlimited lists and items within the lists ## ⇁ Installation -* neovim 0.8.0+ required -* install using your favorite plugin manager (i am using `packer` in this case) +*neovim 0.8.0+ required* +Install using your favorite plugin manager +### Using Packer ```lua use "nvim-lua/plenary.nvim" -- don't forget to add this one if you don't have it yet! use { @@ -44,13 +45,11 @@ use { requires = { {"nvim-lua/plenary.nvim"} } } ``` -* install using [lazy.nvim](https://github.com/folke/lazy.nvim) +### Using [lazy.nvim](https://github.com/folke/lazy.nvim) +Harpoon2 is available as an extra lazyvim plugin. Just add this import in the specs +of `lazy.lua` config file: ```lua -{ - "ThePrimeagen/harpoon", - branch = "harpoon2", - dependencies = { "nvim-lua/plenary.nvim" } -} +{ import = "lazyvim.plugins.extras.editor.harpoon2" } ``` ## ⇁ Getting Started From 452f616a38269c8e7c7f1fe3c3a293fa2f9f7593 Mon Sep 17 00:00:00 2001 From: Valentin Degenne Date: Sat, 14 Sep 2024 14:39:41 +0200 Subject: [PATCH 2/2] add link to default configuration --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 615dec48..03d54d92 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ of `lazy.lua` config file: ```lua { import = "lazyvim.plugins.extras.editor.harpoon2" } ``` +(see the [default configuration](https://github.com/Buer-Nahida/LazyVim/blob/1f5c005c030233438f049ec4de312b4e60184fda/lua/lazyvim/plugins/extras/editor/harpoon2.lua)) ## ⇁ Getting Started