From 5dc2ba92677af24854817ad7447d8f9d0af5ebdb Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 14 Mar 2013 14:11:06 +0100 Subject: [PATCH] update README --- README.asciidoc | 74 ++++++++++++++++++++++++++++--------------------- 1 file changed, 43 insertions(+), 31 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index 3a2a381f..b3e402f0 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -154,20 +154,26 @@ followed by _alt-space_. Object Selection ---------------- -Using alt-i and alt-a, you can select some text object, the starting -point is always the last character of the selection. +Some keys allow you to select a text object: + + * _alt-a_: selects the whole object + * _alt-i_: selects the inner object, that is the object excluding it's surrounder. + for example, for a quoted string, this will not select the quote, and + for a word this will not select trailing spaces. + * _[_: selects to object start + * _]_: selects to object end + +After this key, you need to enter a second key in order to specify which +object you want. * _b_, _(_ or _)_: select the enclosing parenthesis * _B_, _{_ or _}_: select the enclosing {} block * _[_ or _]_: select the enclosing [] block * _<_ or _>_: select the enclosing <> block - * w: select the whole word - * W: select the whole WORD - -When it makes sense, _alt-i_ selects the inner object and alt-a the whole -object. For example _alt-i_ will only select the inside of the parenthesis, -for words, the difference between _alt-i_ and _alt-a_ is that _alt-a_ also -selects the following blanks. + * _"_: select the enclosing double quoted string + * _'_: select the enclosing single quoted string + * _w_: select the whole word + * _W_: select the whole WORD Registers --------- @@ -218,8 +224,11 @@ Commands are entered using +:+. * +eval [-client ] +: execute as if entered in command line if client if specified, exec command in the named client context. * +echo +: show in status line + * +decl []+: declare an option, type can be int, str, int-list + and str-list. * +set{b,w,g}