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

increment selected numbers #63

Closed
jankollmitz opened this issue Nov 24, 2017 · 4 comments
Closed

increment selected numbers #63

jankollmitz opened this issue Nov 24, 2017 · 4 comments
Assignees

Comments

@jankollmitz
Copy link

Hi,

first of all great tool! I'm just missing one feature or I'm not sure if it's already there.
With this selection:
1|
2|
2|
3|
I'd lile to have this result:
2|
3|
3|
4|

Meaning: I wnat to add 1 (or any number) to each selected number. Is that at all possible or in any way planned as a new feature?

Best regards,
Jan

@duydao
Copy link
Owner

duydao commented Dec 11, 2017

HI @JanKuehn

Yes, there is a way to do this my using the node / python configuration (which is a bit inconvenient tbh).

I'll add an operator for doing this.

Thanks for using Text Pastry!

@duydao duydao self-assigned this Dec 11, 2017
@duydao duydao added this to the 1.5.2 milestone Dec 11, 2017
@SmartManoj
Copy link
Contributor

You can use emmet package. Ctrl up to increment

@duydao duydao removed this from the 1.5.2 milestone Jun 16, 2019
@duydao duydao closed this as completed Jun 16, 2019
@sergeevabc
Copy link

Err...

2022-226
2022-311
2023-002

I have selected a column with 226,311,002.
Which command should I use to get values incremented +1 (226,312,003)?

@duydao
Copy link
Owner

duydao commented Jan 16, 2023

Hi @sergeevabc,

this is not possible with Text Pastry, but there are some Plugins that can help you with this.

As example:

https://packagecontrol.io/packages/Increment%20Decrement

Thanks for using Text Pastry!

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

No branches or pull requests

4 participants