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

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

1891 active golfers, 7962 entries

Solutions by @park_jungy:
21
#417 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:37PM

22
#>552 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:36PM

23
#>801 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:33PM

24
#>978 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:32PM

26
#>1115 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:31PM

27
#>1203 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:29PM

31
#>1480 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:26PM

31
#>1480 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:27PM

35
#>1644 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:24PM

38
#>1700 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:19PM

61
#>1826 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:17PM