Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 55250aff5eba2c043f0318f5

Merge blank lines and properly capitalize

Here you need complete 2 tasks: 1. Remove all unwanted continuous blank lines and leave only 1 blank line between paragraphs. 2. Properly capitalize the sentences.

Start file
the little prince visits the geographer



the sixth planet was ten times larger than the last one. it was inhabited by an old gentleman who wrote voluminous books.


"oh, look! here is an explorer!" he exclaimed to himself when he saw the little prince coming.


the little prince sat down on the table and panted a little. he had already traveled so much and so far!


"where do you come from?" the old gentleman said to him.


"what is that big book?" said the little prince. "what are you doing?"



End file
The little prince visits the geographer

The sixth planet was ten times larger than the last one. It was inhabited by an old gentleman who wrote voluminous books.

"Oh, look! Here is an explorer!" He exclaimed to himself when he saw the little prince coming.

The little prince sat down on the table and panted a little. He had already traveled so much and so far!

"Where do you come from?" The old gentleman said to him.

"What is that big book?" Said the little prince. "What are you doing?"

View Diff

1c1
< the little prince visits the geographer
---
> The little prince visits the geographer
2a3
> The sixth planet was ten times larger than the last one. It was inhabited by an old gentleman who wrote voluminous books.
3a5
> "Oh, look! Here is an explorer!" He exclaimed to himself when he saw the little prince coming.
5,18c7
< the sixth planet was ten times larger than the last one. it was inhabited by an old gentleman who wrote voluminous books.
< 
< 
< "oh, look! here is an explorer!" he exclaimed to himself when he saw the little prince coming.
< 
< 
< the little prince sat down on the table and panted a little. he had already traveled so much and so far!
< 
< 
< "where do you come from?" the old gentleman said to him.
< 
< 
< "what is that big book?" said the little prince. "what are you doing?"
< 
---
> The little prince sat down on the table and panted a little. He had already traveled so much and so far!
19a9
> "Where do you come from?" The old gentleman said to him.
20a11
> "What is that big book?" Said the little prince. "What are you doing?"

Solutions by @mcr05:

Unlock 4 remaining solutions by signing in and submitting your own entry
Created by: @pftb12345

23 active golfers, 81 entries

Solutions by @mcr05:
23
#7 - Matt / @mcr05

04/08/2015 at 07:40PM

24
#>11 - Matt / @mcr05

04/08/2015 at 07:28PM

25
#>11 - Matt / @mcr05

04/08/2015 at 07:27PM

29
#>11 - Matt / @mcr05

04/08/2015 at 07:21PM