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_

1886 active golfers, 7954 entries

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

03/04/2019 at 02:50PM

23
#>570 - maq / @maq41476369

03/04/2019 at 02:48PM

24
#>824 - maq / @maq41476369

03/04/2019 at 02:46PM

25
#>986 - maq / @maq41476369

03/04/2019 at 02:45PM

26
#>1054 - maq / @maq41476369

03/04/2019 at 02:43PM

27
#>1126 - maq / @maq41476369

03/04/2019 at 02:43PM

28
#>1211 - maq / @maq41476369

03/04/2019 at 02:39PM

29
#>1294 - maq / @maq41476369

03/04/2019 at 02:38PM

31
#>1424 - maq / @maq41476369

03/04/2019 at 02:37PM

32
#>1483 - maq / @maq41476369

03/04/2019 at 02:30PM

37
#>1671 - maq / @maq41476369

03/04/2019 at 02:25PM

47
#>1774 - maq / @maq41476369

03/04/2019 at 02:21PM

48
#>1780 - maq / @maq41476369

03/04/2019 at 02:20PM

58
#>1808 - maq / @maq41476369

03/04/2019 at 01:29PM

101
#>1869 - maq / @maq41476369

03/04/2019 at 01:25PM