question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support to repeat commands

See original GitHub issue

Tokens and selection are treated on a text level take air three times => Selects the token air and the next two instances of the same text clear this twice => Clears the current selection and the next instance of the same text take first word twice => Selects the first sub word and the next instance of the same text take air past bat twice => Selects the range and the next instance of the same text

More complex scope and selection types are treated by order take line air twice => Selects the line containing air and the next line below take funk twice => Selects the current function and the next one below

To make this implementation feasible we probably need the new object oriented targets.

In the meantime there is an “ad hoc” solution to try: https://github.com/AndreasArvidsson/andreas-talon/blob/master/apps/vscode/vscode_take_word.talon

Ponderings:

  • Should we have a grammar to go in the opposite direction? take air last three times
  • Should be try to align repeater commands with the user via a capture function or a csv file?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
AndreasArvidssoncommented, Dec 12, 2021

I have no objections that the implementation needs to be aware of the action. Everything to make it as intuitive and fluent as possible.

0reactions
AndreasArvidssoncommented, Dec 12, 2021

Yes in many cases it does the same thing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Repeat actions in Shortcuts on Mac - Apple Support
In Shortcuts, the Repeat action and the Repeat with Each action allow you to run a group of actions in a shortcut multiple...
Read more >
Repeating commands automatically | AutoCAD
You want to repeat a command, such as the CIRCLE command, without having to restart the command each time using the traditional method....
Read more >
Use the repeat command (.) with supported plugins : vim online
Adding support to a plugin is generally as simple as the following command at the end of your map functions. silent! call repeat#set("\<Plug>MyWonderfulMap" ......
Read more >
tpope/vim-repeat - GitHub
Adding support to a plugin is generally as simple as the following command at the end of your map functions. silent! call repeat#set("\<Plug>MyWonderfulMap",...
Read more >
Undo, redo, or repeat an action - Microsoft Support
By default, the Repeat command Button image is not available on the Quick Access Toolbar in Excel. If you want to repeat the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found