summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-04-05 18:31:23 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-04-05 18:31:23 +0200
commite3f097ad408c670eb3328475627bc0185e4e05d8 (patch)
tree71e84b6b99f4ce8c250f1a982a1f1b8918851995
parentc53319ce5e683bc72c826512fcef3224990efc8d (diff)
update VIMTOKAK
-rw-r--r--VIMTOKAK5
1 files changed, 5 insertions, 0 deletions
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 <space>M (<space> 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.