From bc147df10ecc67a056b5eb2c25e5bb94eeaa0b47 Mon Sep 17 00:00:00 2001 From: Scott Kaye Date: Wed, 20 Dec 2023 14:18:15 -0500 Subject: [PATCH] Add documentation to read me for previous and next shortcuts --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 167fe1b..be31f26 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,10 @@ vim.keymap.set("n", "", function() harpoon:list():select(1) end) vim.keymap.set("n", "", function() harpoon:list():select(2) end) vim.keymap.set("n", "", function() harpoon:list():select(3) end) vim.keymap.set("n", "", function() harpoon:list():select(4) end) + +-- Toggle previous & next buffers stored within Harpoon list +vim.keymap.set("n", "", function() harpoon:list():prev() end) +vim.keymap.set("n", "", function() harpoon:list():next() end) ``` ## ⇁ API