leetcode.nvim icon indicating copy to clipboard operation
leetcode.nvim copied to clipboard

Feature Request: Add `:Leet next` and `:Leet previous` navigation

Open 0xJWLabs opened this issue 1 year ago • 4 comments

I love using the leetcode.nvim plugin, and I have a suggestion that could make it even better. How about adding two new sub commands?

What I’m Suggesting

  • :Leet next: This would let us jump to the next problem in the set, making it easier to keep solving without going back to the menu. or opening problem lists.
  • :Leet previous : This command would let us quickly navigate back to the last problem we were working on. For instance, if we're currently on problem 21, using this command would take us to problem 20.

Why It Would Help

  • Smoother Navigation: It would really speed up how we move through problems.
  • More Intuitive: It feels more natural to navigate problems this way, especially for those of us who like using keyboard shortcuts.

I think these small additions could really enhance the experience for all users. Thanks for considering this!

0xJWLabs avatar Oct 27 '24 23:10 0xJWLabs

Have you tried using :Leet tabs?

kawre avatar Oct 28 '24 22:10 kawre

but it says Leet tabs = opens a picker with all currently opened question tabs

but what i’m talking about is go to next or previous problem, open or not open

0xJWLabs avatar Nov 01 '24 15:11 0xJWLabs

@kawre btw, how to close tab?

0xJWLabs avatar Nov 03 '24 23:11 0xJWLabs

Just close the question buffer with :q

kawre avatar Nov 04 '24 16:11 kawre