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 @m4tty1c3:

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

1867 active golfers, 7830 entries

Solutions by @m4tty1c3:
21
#123 - Matt / @m4tty1c3

06/25/2019 at 11:24PM

21
#>149 - Matt / @m4tty1c3

07/25/2019 at 06:14PM

22
#>480 - Matt / @m4tty1c3

06/25/2019 at 11:23PM

23
#>645 - Matt / @m4tty1c3

06/25/2019 at 11:21PM

24
#>861 - Matt / @m4tty1c3

06/25/2019 at 11:15PM

26
#>1058 - Matt / @m4tty1c3

06/25/2019 at 11:13PM

27
#>1134 - Matt / @m4tty1c3

06/25/2019 at 10:59PM

27
#>1134 - Matt / @m4tty1c3

06/25/2019 at 11:05PM

29
#>1296 - Matt / @m4tty1c3

06/25/2019 at 10:54PM

34
#>1575 - Matt / @m4tty1c3

06/25/2019 at 10:51PM

37
#>1659 - Matt / @m4tty1c3

06/25/2019 at 10:50PM

41
#>1711 - Matt / @m4tty1c3

06/25/2019 at 10:48PM

47
#>1759 - Matt / @m4tty1c3

06/25/2019 at 10:42PM

56
#>1783 - Matt / @m4tty1c3

06/25/2019 at 04:27AM

87
#>1842 - Matt / @m4tty1c3

06/25/2019 at 04:22AM

91
#>1844 - Matt / @m4tty1c3

06/25/2019 at 04:21AM

96
#>1849 - Matt / @m4tty1c3

06/25/2019 at 04:15AM

102
#>1850 - Matt / @m4tty1c3

06/25/2019 at 04:14AM