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

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

1874 active golfers, 7902 entries

Solutions by @seandewar:
21
#289 - Sean Dewar / @seandewar

03/12/2020 at 06:11PM

22
#>526 - Sean Dewar / @seandewar

03/12/2020 at 06:08PM

23
#>724 - Sean Dewar / @seandewar

03/12/2020 at 05:48PM

23
#>724 - Sean Dewar / @seandewar

03/12/2020 at 05:56PM

24
#>917 - Sean Dewar / @seandewar

03/12/2020 at 05:42PM

25
#>1014 - Sean Dewar / @seandewar

03/12/2020 at 05:40PM

26
#>1093 - Sean Dewar / @seandewar

03/12/2020 at 05:37PM

27
#>1169 - Sean Dewar / @seandewar

03/12/2020 at 05:34PM

31
#>1449 - Sean Dewar / @seandewar

03/12/2020 at 05:30PM