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_

1864 active golfers, 7827 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
#>479 - Matt / @m4tty1c3

06/25/2019 at 11:23PM

23
#>644 - Matt / @m4tty1c3

06/25/2019 at 11:21PM

24
#>860 - Matt / @m4tty1c3

06/25/2019 at 11:15PM

26
#>1057 - Matt / @m4tty1c3

06/25/2019 at 11:13PM

27
#>1133 - Matt / @m4tty1c3

06/25/2019 at 10:59PM

27
#>1133 - Matt / @m4tty1c3

06/25/2019 at 11:05PM

29
#>1295 - Matt / @m4tty1c3

06/25/2019 at 10:54PM

34
#>1572 - Matt / @m4tty1c3

06/25/2019 at 10:51PM

37
#>1656 - Matt / @m4tty1c3

06/25/2019 at 10:50PM

41
#>1708 - Matt / @m4tty1c3

06/25/2019 at 10:48PM

47
#>1756 - Matt / @m4tty1c3

06/25/2019 at 10:42PM

56
#>1780 - Matt / @m4tty1c3

06/25/2019 at 04:27AM

87
#>1839 - Matt / @m4tty1c3

06/25/2019 at 04:22AM

91
#>1841 - Matt / @m4tty1c3

06/25/2019 at 04:21AM

96
#>1846 - Matt / @m4tty1c3

06/25/2019 at 04:15AM

102
#>1847 - Matt / @m4tty1c3

06/25/2019 at 04:14AM