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

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

1836 active golfers, 7682 entries

Solutions by @ckwojai:
23
#585 - Wilson Chang / @ckwojai

04/09/2019 at 04:31AM

24
#>812 - Wilson Chang / @ckwojai

04/09/2019 at 04:30AM

25
#>957 - Wilson Chang / @ckwojai

04/09/2019 at 04:25AM

26
#>1024 - Wilson Chang / @ckwojai

04/09/2019 at 04:24AM

27
#>1096 - Wilson Chang / @ckwojai

04/09/2019 at 04:19AM

32
#>1439 - Wilson Chang / @ckwojai

04/09/2019 at 04:16AM

33
#>1483 - Wilson Chang / @ckwojai

04/09/2019 at 04:15AM

36
#>1597 - Wilson Chang / @ckwojai

04/08/2019 at 09:06PM

37
#>1624 - Wilson Chang / @ckwojai

04/08/2019 at 08:14PM

44
#>1706 - Wilson Chang / @ckwojai

04/08/2019 at 08:04PM

133
#>1831 - Wilson Chang / @ckwojai

04/08/2019 at 08:02PM