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_

1864 active golfers, 7827 entries

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

03/29/2019 at 05:47AM

23
#>585 - her / @her35520005

03/29/2019 at 05:43AM

24
#>825 - her / @her35520005

03/28/2019 at 08:03PM

24
#>825 - her / @her35520005

03/28/2019 at 08:06PM

26
#>1045 - her / @her35520005

03/28/2019 at 07:50PM

28
#>1197 - her / @her35520005

03/28/2019 at 07:38PM

30
#>1353 - her / @her35520005

03/28/2019 at 07:37PM

32
#>1465 - her / @her35520005

03/28/2019 at 07:37PM

53
#>1771 - her / @her35520005

03/27/2019 at 09:56PM