Add q and Q alias for single quote and double quote text object

This commit is contained in:
Maxime Coste 2014-01-01 13:59:25 +00:00
parent 57329a6f41
commit bcb53d8417

View File

@ -859,8 +859,8 @@ void select_object(Context& context, int param)
{ { '{', '}' }, 'B' },
{ { '[', ']' }, 'r' },
{ { '<', '>' }, '\0' },
{ { '"', '"' }, '\0' },
{ { '\'', '\'' }, '\0' },
{ { '"', '"' }, 'Q' },
{ { '\'', '\'' }, 'q' },
};
for (auto& sur : surrounding_pairs )
{
@ -874,8 +874,8 @@ void select_object(Context& context, int param)
"B,{,}: braces block \n"
"r,[,]: brackets block \n"
"<,>: angle block \n"
"\": double quote string\n"
"': single quote string\n"
"\",Q: double quote string\n"
"',q: single quote string\n"
"w: word \n"
"W: WORD \n"
"s: sentence \n"