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

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

1876 active golfers, 7905 entries

Solutions by @fishermryn:
21
#327 - 于吉星 / @fishermryn

05/22/2020 at 09:18AM

23
#>747 - 于吉星 / @fishermryn

05/22/2020 at 09:11AM

24
#>933 - 于吉星 / @fishermryn

05/22/2020 at 09:09AM

25
#>1021 - 于吉星 / @fishermryn

05/22/2020 at 09:07AM

27
#>1178 - 于吉星 / @fishermryn

05/22/2020 at 09:05AM

28
#>1258 - 于吉星 / @fishermryn

05/22/2020 at 09:03AM

29
#>1346 - 于吉星 / @fishermryn

05/22/2020 at 03:39AM

31
#>1454 - 于吉星 / @fishermryn

05/22/2020 at 03:38AM