A atom package that adds more functions for multiple cursors
To illustrate how the functions work, selections are marked like this
, and cursors are marked like this: | . a ⭆ b represents how a is transformed into b with the execution of the function.
Reverses the current selections. For each cursor it also selects the surrounding word if the cursors doesn't have a selection.
-
functionCall(
argumentThree
,argumentTwo
,argumentOne
)⭆ functionCall(argumentOne | , argumentTwo | , argumentThree | )
-
functionCall(
argumentThree
, argument | Two, arg | umentOne)⭆ functionCall(argumentOne | , argumentTwo | , argumentThree | )
Inserts letters on the current cursors, starting at a
-
function_call(arg_ | , arg_ | , arg_ | )
⭆ function_call(arg_a | , arg_b | , arg_c | )
Inserts numbers on the current cursors, starting at 0.
-
function_call(arg_ | , arg_ | , arg_ | )
⭆ function_call(arg_0 | , arg_1 | , arg_2 | )
Opens up a dialog, which lets you choose a starting value and an increment value to insert letters or numbers on the current cursors. Starting value can be a single letter or a whole number, increment can be a whole number.
-
function_call(positive_number_ | , positive_number_ | , positive_number_ | )
⭆ The user inserts "1" in the dialog box
⭆ function_call(positive_number_1 | , positive_number_2 | , positive_number_3 | )
-
function_call(odd_number_ | , odd_number_ | , odd_number_ | )
⭆ The user inserts "1:2" in the dialog box
⭆ function_call(odd_number_1 | , odd_number_3 | , odd_number_5 | )
-
function_call(variable_ | , variable_ | , variable_ | )
⭆ The user inserts "e:-2" in the dialog box
⭆ function_call(variable_e | , variable_c | , variable_a | )
For each selection, the function deselects the selection and inserts cursors on both sides.
-
Selection is on
both sides
⭆ Selection is on | both sides |
-
This
is also works withmultiple selections
⭆ | This | is also works with | multiple selections |
For each selection, the function deselects the selection and inserts cursor before and after every character in the selection. This function includes a cursor on the start and end of the selection.
-
This is nice for making lists! [a
bcd
e]⭆ This is nice for making lists! [a | b | c | d | e]
-
Just add a comma after executing function! [a
bc
d], [12345
6]⭆ Just add a comma after executing function! [a | b | c | d], [1 | 2 | 3 | 4 | 5 | 6]