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

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

1876 active golfers, 7905 entries

Solutions by @thejakenixon:
21
#194 - Jake / @thejakenixon

09/29/2019 at 06:35AM

22
#>497 - Jake / @thejakenixon

09/29/2019 at 06:33AM

23
#>681 - Jake / @thejakenixon

09/29/2019 at 06:33AM

24
#>889 - Jake / @thejakenixon

09/29/2019 at 06:31AM

29
#>1315 - Jake / @thejakenixon

09/29/2019 at 06:29AM

31
#>1443 - Jake / @thejakenixon

09/29/2019 at 06:28AM

38
#>1678 - Jake / @thejakenixon

09/29/2019 at 06:27AM

44
#>1747 - Jake / @thejakenixon

09/29/2019 at 06:26AM

48
#>1771 - Jake / @thejakenixon

09/28/2019 at 11:33PM

56
#>1792 - Jake / @thejakenixon

09/28/2019 at 11:25PM

59
#>1804 - Jake / @thejakenixon

09/28/2019 at 11:20PM

61
#>1811 - Jake / @thejakenixon

09/28/2019 at 11:17PM