From e3f097ad408c670eb3328475627bc0185e4e05d8 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 5 Apr 2013 18:31:23 +0200 Subject: [PATCH] update VIMTOKAK --- VIMTOKAK | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/VIMTOKAK b/VIMTOKAK index 298e7f6a..6960a4a1 100644 --- a/VIMTOKAK +++ b/VIMTOKAK @@ -40,3 +40,8 @@ alphabetic chars had to change. you should use M ( clears the trim to one character) * 0 and $ became alt-h and alt-l. Another binding is gh and gl. + +:[gv]/re/cmd +to emulate :g or :v, use % to select the whole buffer, alt-s to get +one selection by line, and then alt-k or alt-K in order to keep only the +selections matching (or not matching) the entered regex.