Skip to content

feature: Improved options for first call to .toggle() #57

@stribor14

Description

@stribor14

Did you check the docs?

  • I have read all the sidekick.nvim docs

Is your feature request related to a problem? Please describe.

Currently when toggling for the first time, you get a list of all non-filtered providers.

Describe the solution you'd like

  1. Add option to filter by installed providers similar to .select()
  2. Add option to set default provider for first call to .toggle() (i.e., when there's still nothing to toggle on-off). If no default is set, open selector (as-is behavior)

Describe alternatives you've considered

adding my own logic to first shortcut call, but feels clunky and would only trigger first time, and not when there's no active sidekick buffer

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions