From 4ca4b7d5db8d77f04703bf2b48afb74f207a52cb Mon Sep 17 00:00:00 2001 From: Raafat Turki Date: Thu, 2 Dec 2021 04:02:00 +0300 Subject: [PATCH] doc: nav_next, nav_prev --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index a6f0094..d8ec620 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,11 @@ you also can switch to any mark without bringing up the menu, use the below with ```lua :lua require("harpoon.ui").nav_file(3) -- navigates to file 3 ``` +you can also cycle the list in both directions +```lua +:lua require("harpoon.ui").nav_next() -- navigates to next mark +:lua require("harpoon.ui").nav_prev() -- navigates to previous mark +``` ### Terminal Navigation this works like file navigation except that if there is no terminal at the specified index