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_

1897 active golfers, 7997 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
#>486 - Matt / @m4tty1c3

06/25/2019 at 11:23PM

23
#>651 - Matt / @m4tty1c3

06/25/2019 at 11:21PM

24
#>874 - Matt / @m4tty1c3

06/25/2019 at 11:15PM

26
#>1074 - Matt / @m4tty1c3

06/25/2019 at 11:13PM

27
#>1151 - Matt / @m4tty1c3

06/25/2019 at 10:59PM

27
#>1151 - Matt / @m4tty1c3

06/25/2019 at 11:05PM

29
#>1319 - Matt / @m4tty1c3

06/25/2019 at 10:54PM

34
#>1601 - Matt / @m4tty1c3

06/25/2019 at 10:51PM

37
#>1685 - Matt / @m4tty1c3

06/25/2019 at 10:50PM

41
#>1739 - Matt / @m4tty1c3

06/25/2019 at 10:48PM

47
#>1789 - Matt / @m4tty1c3

06/25/2019 at 10:42PM

56
#>1813 - Matt / @m4tty1c3

06/25/2019 at 04:27AM

87
#>1872 - Matt / @m4tty1c3

06/25/2019 at 04:22AM

91
#>1874 - Matt / @m4tty1c3

06/25/2019 at 04:21AM

96
#>1879 - Matt / @m4tty1c3

06/25/2019 at 04:15AM

102
#>1880 - Matt / @m4tty1c3

06/25/2019 at 04:14AM