doc: nav_next, nav_prev

This commit is contained in:
Raafat Turki 2021-12-02 04:02:00 +03:00
parent f76f54fd57
commit 4ca4b7d5db

View File

@ -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