VimCheatSheet: convert commands like 'Ctrl + v' to 'Ctrl+v'.

master
Eric Johnson 2014-01-31 17:54:16 +08:00
parent 764b3be0f6
commit 2feb387747
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@ sub cleanup_tables_data {
foreach my $table (@$tables) {
foreach my $row (@{ $table->{rows} }) {
# remove spaces around +
# this is to make commands like 'Ctrl + v' less wide
$row->{help} =~ s/ \+ /+/g;
# $row->{help} looks like: "gt or :tabnext or :tabn - move to next tab"
# The code below puts everything to the right of the ' - ' into