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

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

1836 active golfers, 7682 entries

Solutions by @her35520005:
21
#37 - her / @her35520005

03/29/2019 at 05:47AM

23
#>576 - her / @her35520005

03/29/2019 at 05:43AM

24
#>808 - her / @her35520005

03/28/2019 at 08:03PM

24
#>808 - her / @her35520005

03/28/2019 at 08:06PM

26
#>1023 - her / @her35520005

03/28/2019 at 07:50PM

28
#>1172 - her / @her35520005

03/28/2019 at 07:38PM

30
#>1326 - her / @her35520005

03/28/2019 at 07:37PM

32
#>1438 - her / @her35520005

03/28/2019 at 07:37PM

53
#>1743 - her / @her35520005

03/27/2019 at 09:56PM