ThePrimeagen/harpoon

[Feature request] ability to disable cycling

Closed

#341 opened on Nov 29, 2023

 (12 comments) (0 reactions) (0 assignees)Lua (484 forks)batch import
enhancementgood first issueharpoon2

Repository metrics

Stars
 (9,070 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

hey, I think it would be useful to be able to disable cycling when using nav_next() and nav_prev().

For example: if I have 4 harpoons and I am currently at the 4th one, I would like nav_next() to do nothing. Same thing for nav_prev() on nav(1)

I know it would make sense for some of my workflows where I tend to go deeper and deeper into a codebase, setting checkpoints along the way

thanks for the hard work!

Contributor guide