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

Repeat last toolbox command #5

Open
DanWlker opened this issue Nov 17, 2024 · 0 comments
Open

Repeat last toolbox command #5

DanWlker opened this issue Nov 17, 2024 · 0 comments

Comments

@DanWlker
Copy link
Owner

DanWlker commented Nov 17, 2024

Add functionality to repeat the last executed command

Considerations:

  1. What to do for functions or commands that require variables?
  • another variable for each command to decide when repeating whether we should prompt users for input again?
  • different keybinds, where one will prompt for input and another will reuse?
  • what should be the default?
  1. What is a good default keybind
  • currently <leader>st is cause I'm using kickstart nvim, so binding it with telescope seems logical, but if repeat were to be used, need to consider whether there is a more logical binding
  • <leader>str for repeating
  • <leader>stt or <leader>sts or <leader>st for normal toolbox, note st will have slight delay if used with str
  1. What to do with functions executed on top of visual selections

Need to think about it

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

No branches or pull requests

1 participant