Feature Request: Support opening a specific problem directly via command-line argument or :Leet command by problem number #213

Open
opened 2026-01-18 00:19:42 -06:00 by tsathis · 0 comments
tsathis commented 2026-01-18 00:19:42 -06:00 (Migrated from github.com)

Feature Request: Direct open of a problem by number / slug from command line or Ex command

Current Behavior

Currently the only way to start working on a problem is:

  1. nvim leetcode.nvim (opens dashboard)
  2. :Leet list → fuzzy-search / browse → select problem manually

There is no way to jump straight to a problem when launching Neovim or from inside an existing session.

Desired Behavior / Proposed Solution

Add support for directly opening a specific LeetCode problem, for example:

  1. **From terminal ** (preferred for quick sessions)
    nvim leetcode.nvim 20
    # or
    nvim leetcode.nvim valid-parentheses
    # or
    nvim leetcode.nvim --problem=20
    
### Feature Request: Direct open of a problem by number / slug from command line or Ex command #### Current Behavior Currently the only way to start working on a problem is: 1. `nvim leetcode.nvim` (opens dashboard) 2. `:Leet list` → fuzzy-search / browse → select problem manually There is no way to jump straight to a problem when launching Neovim or from inside an existing session. #### Desired Behavior / Proposed Solution Add support for directly opening a specific LeetCode problem, for example: 1. **From terminal ** (preferred for quick sessions) ```bash nvim leetcode.nvim 20 # or nvim leetcode.nvim valid-parentheses # or nvim leetcode.nvim --problem=20
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
arduinohatesme/leetcode.nvim#213
No description provided.