Sublime Forum

Find with multiple cursors?

#1

After I have multiple cursors, is there a way to find with all of them?

For example, given the following text:

    FIELDS = 
        ("Header1", "field1"),
        ("Header2", "field2"),
        ("Header3 long text", "field3"),
        ("Header4 extra", "field4"),
        ("Header5", "field5"),
    ]

If I have a cursor after the first double quote on each line, I would like to “jump” the cursor to the next double quote. Is this possible?

The resulting structure I would like is this:

    FIELDS = {
        "Header1": {
            "field": "field1",
        },
        "Header2": {
            "field": "field2",
        },
        "Header3 long text": {
            "field": "field3",
        },
        "Header4 extra": {
            "field": "field4",
        },
        "Header5": {
            "field": "field5",
        },
    }

I appreciate any help/pointers on this. Thanks.

0 Likes

#2

https://github.com/bizoo/JumpTo

0 Likes