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_

1897 active golfers, 7997 entries

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

12/29/2020 at 05:37PM

22
#>554 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:36PM

23
#>803 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:33PM

24
#>982 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:32PM

26
#>1119 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:31PM

27
#>1207 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:29PM

31
#>1486 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:26PM

31
#>1486 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:27PM

35
#>1650 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:24PM

38
#>1706 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:19PM

61
#>1832 - Jung Yeon Park / @park_jungy

12/29/2020 at 05:17PM