From e833449250e82ce7161fb312bef9fce594619337 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Tue, 27 Feb 2018 09:44:08 +0100 Subject: Fixed syntax of C comments --- doc/shortcuts.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt index 015684e..c3c5ac1 100644 --- a/doc/shortcuts.txt +++ b/doc/shortcuts.txt @@ -184,6 +184,10 @@ viB:sort = sort inner block by name :finish = from within a viml-script: stop sourcing it +[substitutions] +delete all comments: %s/\/\*\*< [^(\*\/)]*\*\///g +remove empty lines: global/^$/d +remove non-empty lines: v/^$/d [programs] gpm - cut and paste helper for the linux console (to get text from CTRL-ALT-F2 to CTRL-ALT-F3) -- cgit v1.2.3