Skip to content

Repeat last toolbox command #5

@DanWlker

Description

@DanWlker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions