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_

1877 active golfers, 7906 entries

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

04/09/2019 at 04:31AM

24
#>833 - Wilson Chang / @ckwojai

04/09/2019 at 04:30AM

25
#>982 - Wilson Chang / @ckwojai

04/09/2019 at 04:25AM

26
#>1052 - Wilson Chang / @ckwojai

04/09/2019 at 04:24AM

27
#>1126 - Wilson Chang / @ckwojai

04/09/2019 at 04:19AM

32
#>1477 - Wilson Chang / @ckwojai

04/09/2019 at 04:16AM

33
#>1521 - Wilson Chang / @ckwojai

04/09/2019 at 04:15AM

36
#>1636 - Wilson Chang / @ckwojai

04/08/2019 at 09:06PM

37
#>1663 - Wilson Chang / @ckwojai

04/08/2019 at 08:14PM

44
#>1747 - Wilson Chang / @ckwojai

04/08/2019 at 08:04PM

133
#>1872 - Wilson Chang / @ckwojai

04/08/2019 at 08:02PM