All Projects → yulanggong → Incrementselection

yulanggong / Incrementselection

Licence: mit
Add a number to each selection in Sublime Text, incremented once per selection

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Incrementselection

Sublime Text Plugins For Frontend Web Development
📝 Collection of plugins for Frontend Web Development
Stars: ✭ 1,127 (+973.33%)
Mutual labels:  plugin, package, sublime-text
Sublimetext Markdown Preview
markdown preview and build plugin for sublime text 2/3
Stars: ✭ 2,337 (+2125.71%)
Mutual labels:  plugin, sublime-text
Coffeescript Sublime Plugin
Syntax highlighting and checking, commands, shortcuts, snippets, compilation and more.
Stars: ✭ 296 (+181.9%)
Mutual labels:  plugin, sublime-text
Photofilters
photofilters library for flutter
Stars: ✭ 229 (+118.1%)
Mutual labels:  plugin, package
Sublime Markdown Extended
Top 100 Sublime Text plugin! Markdown syntax highlighter for Sublime Text, with extended support for GFM fenced code blocks, with language-specific syntax highlighting. YAML Front Matter. Works with ST2/ST3. Goes great with Assemble.
Stars: ✭ 645 (+514.29%)
Mutual labels:  package, sublime-text
Sublimetext Codeformatter
Code Formatter plugin for ST2/ST3
Stars: ✭ 765 (+628.57%)
Mutual labels:  package, sublime-text
Sublimeallautocomplete
Extend Sublime autocompletion to find matches in all open files of the current window
Stars: ✭ 906 (+762.86%)
Mutual labels:  plugin, sublime-text
Sublimall Server
Server behind Sublimall SublimeText plugin
Stars: ✭ 43 (-59.05%)
Mutual labels:  plugin, sublime-text
Trimmer
A Sublime Text plug-in for cleaning up whitespace.
Stars: ✭ 100 (-4.76%)
Mutual labels:  plugin, sublime-text
Doctordark
📂 MacForge Plugin to bring dark mode to macOS
Stars: ✭ 100 (-4.76%)
Mutual labels:  plugin
Sublime Robot Framework Assistant
Robot Framework plugin for Sublime Text3
Stars: ✭ 103 (-1.9%)
Mutual labels:  sublime-text
Restfultoolkit
A Toolkit for RESTful services development.
Stars: ✭ 101 (-3.81%)
Mutual labels:  plugin
Gitlink
A Jetbrains plugin that opens a local file under Git version control in its remote host using the default browser.
Stars: ✭ 101 (-3.81%)
Mutual labels:  plugin
Shadowsocksgostplugin
Gost 的 Shadowsocks 安卓插件,可以直接在 Shadowsocks 安卓客户端上连接 Gost 服务器
Stars: ✭ 104 (-0.95%)
Mutual labels:  plugin
Flutter iap
Flutter iap plugin
Stars: ✭ 101 (-3.81%)
Mutual labels:  plugin
Snakecase
🐍🐍🐍 A systematic approach to parse strings and automate the conversion to snake_case, UpperCamelCase or any other case.
Stars: ✭ 104 (-0.95%)
Mutual labels:  package
Wordless
All the power of Pug, Sass, Coffeescript and WebPack in your WordPress theme. Stop writing themes like it's 1998.
Stars: ✭ 1,374 (+1208.57%)
Mutual labels:  plugin
Forecastml
An R package with Python support for multi-step-ahead forecasting with machine learning and deep learning algorithms
Stars: ✭ 101 (-3.81%)
Mutual labels:  package
N1 Unsubscribe
Plugin for Nylas Mail that adds a quick unsubscribe button for email.
Stars: ✭ 105 (+0%)
Mutual labels:  plugin
Turtlebot3 simulations
Simulations for TurtleBot3
Stars: ✭ 104 (-0.95%)
Mutual labels:  package

Increment Selection

Add a number to each selection in Sublime Text, incremented once per selection. You may also insert the number of line containing the selection by using the '#' symbol.

This plugin is based on Riccardo Marotti's answer on StackOverflow. The default hotkey is ctrl alt i or cmd ctrl i.

Usage

Place the cursors where you need:

step 1

Insert the number the counter should start from (in this case 1):

step 2

Select the number you typed (shift <—):

step 3

Type the shortcut:

step 4

Examples

Tips: [] stands for a selection, | stands for a caret.

[1] text [1] text [1] -> 1| text 2| text 3|

[a] text [a] text [a] -> a| text b| text c|

[A] text [A] text [A] -> A| text B| text C|

[01] text [01] text [01] -> 01| text 02| text 03|

[05,2] text [05,2] text [05,2] -> 05| text 07| text 09|

[5,-1] text [5,-1] text [5,-1] -> 5| text 4| text 3|

[a,3] text [a,3] text [a,3] -> a| text d| text g|

Increment follows the difference between the first and second element:

[10] text [9] text [1] -> 10| text 9| text 8|   

[a] text [c] text [a] -> a| text c| text e|

Generate line numbers:

[#] line -> 1| line
[#] line -> 2| line
[#] line -> 3| line
[#] line -> 4| line
[#] line -> 5| line
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].