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

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

1877 active golfers, 7906 entries

Solutions by @kodemaan:
23
#591 - kodemaan / @kodemaan

04/02/2019 at 08:48PM

24
#>829 - kodemaan / @kodemaan

04/02/2019 at 08:46PM

24
#>829 - kodemaan / @kodemaan

04/02/2019 at 08:46PM

25
#>982 - kodemaan / @kodemaan

04/02/2019 at 08:45PM

26
#>1052 - kodemaan / @kodemaan

04/02/2019 at 08:42PM

26
#>1052 - kodemaan / @kodemaan

04/02/2019 at 08:43PM

27
#>1124 - kodemaan / @kodemaan

04/02/2019 at 08:40PM

27
#>1124 - kodemaan / @kodemaan

04/02/2019 at 08:45PM

28
#>1206 - kodemaan / @kodemaan

04/02/2019 at 08:37PM

29
#>1290 - kodemaan / @kodemaan

04/02/2019 at 08:40PM

30
#>1363 - kodemaan / @kodemaan

04/02/2019 at 08:39PM

36
#>1636 - kodemaan / @kodemaan

04/02/2019 at 08:35PM

39
#>1694 - kodemaan / @kodemaan

04/02/2019 at 08:33PM