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 56462467f20fe74c93000001

lipsum lines

Convert a quoted block of text into strings in a list.

Start file
"Lorem ipsum dolor sit amet,
consectetur adipiscing elit,
sed do eiusmod tempor incididunt...
...ut labore et dolore magna aliqua.
Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris...
...nisi ut aliquip ex ea commodo consequat."
End file
lipsum = ["Lorem ipsum dolor sit amet,",
	"consectetur adipiscing elit,",
	"sed do eiusmod tempor incididunt...",
	"...ut labore et dolore magna aliqua.",
	"Ut enim ad minim veniam,",
	"quis nostrud exercitation ullamco laboris...",
	"...nisi ut aliquip ex ea commodo consequat."]

View Diff

1,7c1,7
< "Lorem ipsum dolor sit amet,
< consectetur adipiscing elit,
< sed do eiusmod tempor incididunt...
< ...ut labore et dolore magna aliqua.
< Ut enim ad minim veniam,
< quis nostrud exercitation ullamco laboris...
< ...nisi ut aliquip ex ea commodo consequat."
---
> lipsum = ["Lorem ipsum dolor sit amet,",
> 	"consectetur adipiscing elit,",
> 	"sed do eiusmod tempor incididunt...",
> 	"...ut labore et dolore magna aliqua.",
> 	"Ut enim ad minim veniam,",
> 	"quis nostrud exercitation ullamco laboris...",
> 	"...nisi ut aliquip ex ea commodo consequat."]

Solutions by @AlexeyZhidkov:

Unlock 7 remaining solutions by signing in and submitting your own entry
Created by: @coryknapp

89 active golfers, 247 entries

Solutions by @AlexeyZhidkov:
28
#9 - Aleksey Zhidkov / @AlexeyZhidkov

02/01/2016 at 04:59AM

30
#>33 - Aleksey Zhidkov / @AlexeyZhidkov

02/01/2016 at 04:57AM

31
#>43 - Aleksey Zhidkov / @AlexeyZhidkov

02/01/2016 at 04:55AM

32
#>50 - Aleksey Zhidkov / @AlexeyZhidkov

02/01/2016 at 04:41AM

34
#>64 - Aleksey Zhidkov / @AlexeyZhidkov

02/01/2016 at 04:40AM

36
#>72 - Aleksey Zhidkov / @AlexeyZhidkov

02/01/2016 at 04:38AM

38
#>76 - Aleksey Zhidkov / @AlexeyZhidkov

02/01/2016 at 04:34AM