From bcb53d84179cb5a281d726f5e21d39cd755c6cea Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 1 Jan 2014 13:59:25 +0000 Subject: [PATCH] Add q and Q alias for single quote and double quote text object --- src/normal.cc | 8 ++++---- 1 file 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"