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 5c742a5a50bdf70006d43280

Box it

Create a box around a line.

Start file
My dream is to be in a box
End file
###############################
# My dream was to be in a box #
###############################

View Diff

1c1,3
< My dream is to be in a box
---
> ###############################
> # My dream was to be in a box #
> ###############################

Solutions by @maq41476369:

Unlock 15 remaining solutions by signing in and submitting your own entry
Created by: @TitouanT_

1861 active golfers, 7818 entries

Solutions by @maq41476369:
22
#455 - maq / @maq41476369

03/04/2019 at 02:50PM

23
#>564 - maq / @maq41476369

03/04/2019 at 02:48PM

24
#>811 - maq / @maq41476369

03/04/2019 at 02:46PM

25
#>971 - maq / @maq41476369

03/04/2019 at 02:45PM

26
#>1038 - maq / @maq41476369

03/04/2019 at 02:43PM

27
#>1109 - maq / @maq41476369

03/04/2019 at 02:43PM

28
#>1192 - maq / @maq41476369

03/04/2019 at 02:39PM

29
#>1274 - maq / @maq41476369

03/04/2019 at 02:38PM

31
#>1402 - maq / @maq41476369

03/04/2019 at 02:37PM

32
#>1460 - maq / @maq41476369

03/04/2019 at 02:30PM

37
#>1648 - maq / @maq41476369

03/04/2019 at 02:25PM

47
#>1749 - maq / @maq41476369

03/04/2019 at 02:21PM

48
#>1755 - maq / @maq41476369

03/04/2019 at 02:20PM

58
#>1783 - maq / @maq41476369

03/04/2019 at 01:29PM

101
#>1844 - maq / @maq41476369

03/04/2019 at 01:25PM