Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Select text between quotes?

Tags:

sublimetext3

It drives me mad. I can found how to select text between quotes in mac. I have not installed any plugins. But i can select text pressing -

Ctrl + Shift + Space 

Combination - Ctrl + Shift + M - fro selection text between brackets works good.

Please help me.

like image 510
Tany Avatar asked May 13 '16 10:05

Tany


People also ask

How do you select text between quotes?

Simply put your cursor between two quotes and hit Ctrl ' to select the text between the quotes. Hit it again and it will select the quote marks themselves.

How do I convert a string between two quotes in Excel?

Another way to supply a double quote (") to an Excel formula is by using the CHAR function with the code number 34. The first two arguments of this MID formula raise no questions: A2 is the text string to search, and. SEARCH("""", A2) +1 is the starting number, i.e. the position of the first quote +1.

How do you select everything in a quote?

Ctrl + K ' select everything between single quotes. Ctrl + K " select everything between double quotes. Ctrl + K ` select everything between back ticks.


2 Answers

There is a plugin specifically for this task: Expand Selection to Quotes. Simply put your cursor between two quotes and hit Ctrl' to select the text between the quotes. Hit it again and it will select the quote marks themselves.

like image 159
MattDMo Avatar answered Sep 23 '22 13:09

MattDMo


You can use the Plugin BracketHighlighter to achieve what you want. First, you need to install this Plugin. Then, go to Preferences --> Key Bindings.

enter image description here

Add the following key bindings,

{
        "no_outside_adj": null,
        "keys": ["ctrl+alt+super+s"],
        "command": "bh_key",
        "args":
        {
            "lines" : true,
            "plugin":
            {
                "type": ["__all__"],
                "command": "bh_modules.bracketselect"
            }
        }
}

Then you can use the shortcut key Ctrl+Alt+Super+S to select texts between quotation marks.

like image 22
jdhao Avatar answered Sep 20 '22 13:09

jdhao