{"id":13448193,"url":"https://github.com/yulanggong/IncrementSelection","last_synced_at":"2025-03-22T08:31:45.827Z","repository":{"id":6731561,"uuid":"7977561","full_name":"yulanggong/IncrementSelection","owner":"yulanggong","description":"Add a number to each selection in Sublime Text, incremented once per selection","archived":false,"fork":false,"pushed_at":"2017-09-19T13:18:14.000Z","size":9,"stargazers_count":113,"open_issues_count":1,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-28T14:26:50.855Z","etag":null,"topics":["increment","insert","package","plugin","python","sublime-text"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yulanggong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-02T15:30:48.000Z","updated_at":"2024-05-23T10:09:51.000Z","dependencies_parsed_at":"2022-07-21T12:32:18.999Z","dependency_job_id":null,"html_url":"https://github.com/yulanggong/IncrementSelection","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yulanggong%2FIncrementSelection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yulanggong%2FIncrementSelection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yulanggong%2FIncrementSelection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yulanggong%2FIncrementSelection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yulanggong","download_url":"https://codeload.github.com/yulanggong/IncrementSelection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244931484,"owners_count":20534008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["increment","insert","package","plugin","python","sublime-text"],"created_at":"2024-07-31T05:01:38.423Z","updated_at":"2025-03-22T08:31:45.571Z","avatar_url":"https://github.com/yulanggong.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"Increment Selection\n==================\n\nAdd a number to each selection in Sublime Text, incremented once per selection.\nYou may also insert the number of line containing the selection by using the '#' symbol.\n\nThis plugin is based on [Riccardo Marotti's answer](http://stackoverflow.com/a/14578077) on StackOverflow.  The default hotkey is \u003ckbd\u003ectrl\u003c/kbd\u003e \u003ckbd\u003ealt\u003c/kbd\u003e \u003ckbd\u003ei\u003c/kbd\u003e or \u003ckbd\u003ecmd\u003c/kbd\u003e \u003ckbd\u003ectrl\u003c/kbd\u003e \u003ckbd\u003ei\u003c/kbd\u003e.\n\nUsage\n-------\n\nPlace the cursors where you need:\n\n![step 1](http://i.stack.imgur.com/rBPkj.png)\n\nInsert the number the counter should start from (in this case 1):\n\n![step 2](http://i.stack.imgur.com/hODtW.png)\n\nSelect the number you typed (\u003ckbd\u003eshift\u003c/kbd\u003e \u003ckbd\u003e\u003c\u0026mdash;\u003c/kbd\u003e):\n\n![step 3](http://i.stack.imgur.com/EJLco.png)\n\nType the shortcut:\n\n![step 4](http://i.stack.imgur.com/w7wpJ.png)\n\n\nExamples\n----------\n\nTips:  `[]` stands for a selection, `|` stands for a caret.\n\n\t[1] text [1] text [1] -\u003e 1| text 2| text 3|\n\n\t[a] text [a] text [a] -\u003e a| text b| text c|\n\n\t[A] text [A] text [A] -\u003e A| text B| text C|\n\n\t[01] text [01] text [01] -\u003e 01| text 02| text 03|\n\n\t[05,2] text [05,2] text [05,2] -\u003e 05| text 07| text 09|\n\n\t[5,-1] text [5,-1] text [5,-1] -\u003e 5| text 4| text 3|\n\n\t[a,3] text [a,3] text [a,3] -\u003e a| text d| text g|\n\nIncrement follows the difference between the first and second element:\n                                   \n\t[10] text [9] text [1] -\u003e 10| text 9| text 8|   \n\n\t[a] text [c] text [a] -\u003e a| text c| text e|\n\nGenerate line numbers:    \n\n\t[#] line -\u003e 1| line\n\t[#] line -\u003e 2| line\n\t[#] line -\u003e 3| line\n\t[#] line -\u003e 4| line\n\t[#] line -\u003e 5| line\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyulanggong%2FIncrementSelection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyulanggong%2FIncrementSelection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyulanggong%2FIncrementSelection/lists"}