summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-01-01 13:59:25 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-01-01 13:59:25 +0000
commitbcb53d84179cb5a281d726f5e21d39cd755c6cea (patch)
treeba9747341d6cdf04673e90eb883cb03c0bfee9d6 /src
parent57329a6f4176835812120acb935e7a68c4cea9d7 (diff)
Add q and Q alias for single quote and double quote text object
Diffstat (limited to 'src')
-rw-r--r--src/normal.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/normal.cc b/src/normal.cc
index b89dc395..ba821076 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -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"