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

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

1865 active golfers, 7828 entries

Solutions by @the_phi_is_cast:
21
#431 - fkubota 🦉 / @the_phi_is_cast

01/25/2021 at 12:45PM

21
#>431 - fkubota 🦉 / @the_phi_is_cast

01/25/2021 at 12:47PM

22
#>548 - fkubota 🦉 / @the_phi_is_cast

01/25/2021 at 12:46PM

23
#>800 - fkubota 🦉 / @the_phi_is_cast

01/25/2021 at 12:43PM

24
#>970 - fkubota 🦉 / @the_phi_is_cast

01/25/2021 at 12:41PM

25
#>1002 - fkubota 🦉 / @the_phi_is_cast

12/25/2019 at 02:32AM

27
#>1156 - fkubota 🦉 / @the_phi_is_cast

12/25/2019 at 02:30AM

27
#>1190 - fkubota 🦉 / @the_phi_is_cast

01/25/2021 at 12:21PM

30
#>1376 - fkubota 🦉 / @the_phi_is_cast

12/25/2019 at 02:06AM

32
#>1488 - fkubota 🦉 / @the_phi_is_cast

12/25/2019 at 02:05AM

33
#>1535 - fkubota 🦉 / @the_phi_is_cast

12/25/2019 at 02:04AM

35
#>1620 - fkubota 🦉 / @the_phi_is_cast

12/25/2019 at 02:01AM

43
#>1731 - fkubota 🦉 / @the_phi_is_cast

12/27/2019 at 04:41AM