Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Plugin: quickNav #3130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add Plugin: quickNav #3130

wants to merge 1 commit into from

Conversation

RedlineDevs
Copy link

Description:

Basically this plugin lets you set certain keybinds in Servers, Channels or DMs using a Slash Command to be able to.. as the title says, quickly navigate to them whenever, wherever

Commands:

Setting Keybinds

  • /qn-set-kb: Create a new navigation keybind
    • name: Name for the keybind (required)
    • keys: Comma-separated list of keys (required)
      • Must include at least one modifier (ctrl, alt, or shift)
      • Example: ctrl,shift,l (btw has to include the commas, no spaces)
    • channel: Target channel (optional, defaults to current channel)
    • category: Group name for organizing keybinds (optional)
    • description: Description of the keybind's purpose (optional)

Managing Keybinds

  • /qn-list-kb: View all keybinds
    • category: Filter by category name (optional)
    • sort: Sort by name, created, or lastused (optional)
  • /qn-remove-kb: Delete a keybind
    • id: ID of the keybind to remove (required)

Valid Keys

  • Modifiers: ctrl, alt, shift
  • Letters: a-z
  • Numbers: 0-9
  • Function: f1-f12
  • Navigation: tab, capslock, space, backspace, delete, enter, escape, home, end, pageup, pagedown, arrowup, arrowdown, arrowleft, arrowright

image
and yes I started coding this at 4am for some reason... I was bored

@Vendicated
Copy link
Owner

Just use QuickSwitcher: CTRL + k / CTRL + t

@RedlineDevs
Copy link
Author

Just use QuickSwitcher: CTRL + k / CTRL + t

Thought of that too but tbh, but lazy people (Like me) just want the lazy way which is a keybind, this would also help if you are talking in diff servers/dms at the same time and u cba to keep pressing back/forward

@Kyuuhachi
Copy link
Contributor

Why is this configured with commands rather than configuration?

@RedlineDevs
Copy link
Author

Why is this configured with commands rather than configuration?

Like registerCommand?

@RedlineDevs
Copy link
Author

Why is this configured with commands rather than configuration?

Like registerCommand?

Ahhh Why the Keybinds are configured with commands rather than Config, Mainly because it's gonna be easier and faster, instead of needing to open settings > plugins > quickNav and then modify the settings

Plus Embeds look better

If needed I might try and implement support for the Config though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants