From 2468a119fedf43607d7d50752743d4ad11f06a21 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 11 Apr 2013 21:15:54 +0200 Subject: [PATCH] update README --- README.asciidoc | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index 96e6e2de..2e127dcb 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -62,15 +62,8 @@ Basic Movement * _%_: select whole buffer - * _gh_, _alt-H_: select to line begin - * _gl_, _alt-L_: select to line end - - * _gg_, _gk_: go to the first line - * _gj_: go to the last line - - * _gt_, _gk_: go to the first displayed line - * _gc_, _gk_: go to the middle displayed line - * _gb_: go to the last displayed line + * _alt-H_: select to line begin + * _alt-L_: select to line end * _/_: search (select next match) * _?_: search (extend to next match) @@ -128,6 +121,34 @@ Changes * _u_: undo last change * _U_: redo last change +Goto Commands +------------- + +Commands begining with g are used to goto certain position and or buffer: + + * _gh_: select to line begin + * _gl_: select to line end + + * _gg_, _gk_: go to the first line + * _gj_: go to the last line + + * _gt_, _gk_: go to the first displayed line + * _gc_, _gk_: go to the middle displayed line + * _gb_: go to the last displayed line + + * _ga_: go to the previous (alternate) buffer + * _gf_: open the file whose name is selected + +Window commands +--------------- + +Some commands, all begining with z permit to manipulate the current +window. + + * _zz_ or _zc_: center the main selection in the window + * _zt_: scroll to put the main selection on the top line of the window + * _zb_: scroll to put the main selection on the bottom line of the window + Multi Selection ---------------