Skip to content

Support numeric ranges for insert #48

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

Closed
pokey opened this issue Jun 30, 2021 · 0 comments · Fixed by #135
Closed

Support numeric ranges for insert #48

pokey opened this issue Jun 30, 2021 · 0 comments · Fixed by #135
Assignees
Labels
enhancement New feature or request

Comments

@pokey
Copy link
Member

pokey commented Jun 30, 2021

If you have 5 cursors, you could say "insert range 1 to 5 pre this". For example, if you have a cursor at the beginning of each of these lines:

foo
bar
baz
bongo

Then saying "insert range 1 to 4 pre this", you'd get the following:

1foo
2bar
3baz
4bongo

Probably talon would just send a list to vscode, which would then zip it with the targets as normal. So the range would just operate like "square" etc as described in #15

Could also have a simplified version which is just "insert count pre this", or "insert count from two pre this", and it would count as necessary

Could also do alphabet ranges

@pokey pokey added the enhancement New feature or request label Jul 2, 2021
@AndreasArvidsson AndreasArvidsson linked a pull request Jul 24, 2021 that will close this issue
@AndreasArvidsson AndreasArvidsson self-assigned this Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants