Toggling Brackets
The README says Also available different start and end of wrap characters: </>, [/], «/» etc. but it doesn't seem to work, or at least I don't understand how to make it work. I don't find any documentation about that.
I tried the following, using the standard keyboard shortcut Cmd + ', in a Python file, on this line v = [0, 1]:
- Placing the cursor in the middle, after the comma (so no selection).
- Placing the cursor before and after
[, ], (, and ).
- On the selections
0, 1 and [0, 1].
Multiple Config
Is it possible to configure multiple lists? Like this:
"togglequotes.chars": [
[ "\"", "'", "`" ],
[ ["“", "”"], ["‘", "’"] ],
[ ["«", "»"], ["‹", "›"] ],
[ ["(", ")"], ["[", "]"], ["{", "}"] ],
],
It would also be useful to be able to configure different keyboard shortcuts. For example to have one acting on quotes and another one on brackets; so that we don't have to select, it finds the closest type around the cursor.
Toggling Brackets
The README says
Also available different start and end of wrap characters: </>, [/], «/» etc.but it doesn't seem to work, or at least I don't understand how to make it work. I don't find any documentation about that.I tried the following, using the standard keyboard shortcut
Cmd + ', in a Python file, on this linev = [0, 1]:[,],(, and).0, 1and[0, 1].Multiple Config
Is it possible to configure multiple lists? Like this:
It would also be useful to be able to configure different keyboard shortcuts. For example to have one acting on quotes and another one on brackets; so that we don't have to select, it finds the closest type around the cursor.