mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-14 01:50:27 +00:00
doc: nav_next, nav_prev
This commit is contained in:
parent
f76f54fd57
commit
4ca4b7d5db
@ -60,6 +60,11 @@ you also can switch to any mark without bringing up the menu, use the below with
|
|||||||
```lua
|
```lua
|
||||||
:lua require("harpoon.ui").nav_file(3) -- navigates to file 3
|
: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
|
### Terminal Navigation
|
||||||
this works like file navigation except that if there is no terminal at the specified index
|
this works like file navigation except that if there is no terminal at the specified index
|
||||||
|
Loading…
x
Reference in New Issue
Block a user