diff --git a/README.asciidoc b/README.asciidoc index 4567d654..892a7e0c 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -314,6 +314,7 @@ object you want. * _a_, _<_ or _>_: select the enclosing <> block * _"_: select the enclosing double quoted string * _'_: select the enclosing single quoted string + * _`_: select the enclosing grave quoted string * _w_: select the whole word * _W_: select the whole WORD * _s_: select the sentence diff --git a/src/normal.cc b/src/normal.cc index a17e1eea..93b8bb2c 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -855,6 +855,7 @@ void select_object(Context& context, int param) { { '<', '>' }, 'a' }, { { '"', '"' }, 'Q' }, { { '\'', '\'' }, 'q' }, + { { '`', '`' }, 'g' }, }; for (auto& sur : surrounding_pairs) { @@ -870,6 +871,7 @@ void select_object(Context& context, int param) "a,<,>: angle block \n" "\",Q: double quote string\n" "',q: single quote string\n" + "`,g: grave quote string \n" "w: word \n" "W: WORD \n" "s: sentence \n"