Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(readme): sharing an easier way to install in lazyvim #631

Open
wants to merge 2 commits into
base: harpoon2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -44,14 +45,13 @@ 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" }
```
(see the [default configuration](https://github.com/Buer-Nahida/LazyVim/blob/1f5c005c030233438f049ec4de312b4e60184fda/lua/lazyvim/plugins/extras/editor/harpoon2.lua))

## ⇁ Getting Started

Expand Down