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

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

1864 active golfers, 7827 entries

Solutions by @KafrouniChris:
27
#1167 - Christophe Kafrouni / @KafrouniChris

04/30/2020 at 02:29PM

28
#>1247 - Christophe Kafrouni / @KafrouniChris

04/30/2020 at 02:26PM

29
#>1336 - Christophe Kafrouni / @KafrouniChris

04/30/2020 at 02:23PM

42
#>1721 - Christophe Kafrouni / @KafrouniChris

04/30/2020 at 02:21PM

55
#>1778 - Christophe Kafrouni / @KafrouniChris

04/30/2020 at 02:16PM

57
#>1786 - Christophe Kafrouni / @KafrouniChris

04/30/2020 at 02:12PM

57
#>1786 - Christophe Kafrouni / @KafrouniChris

04/30/2020 at 02:15PM

58
#>1792 - Christophe Kafrouni / @KafrouniChris

04/29/2020 at 03:42PM

59
#>1792 - Christophe Kafrouni / @KafrouniChris

04/29/2020 at 03:39PM

61
#>1799 - Christophe Kafrouni / @KafrouniChris

04/29/2020 at 03:37PM

89
#>1841 - Christophe Kafrouni / @KafrouniChris

04/29/2020 at 03:31PM

90
#>1841 - Christophe Kafrouni / @KafrouniChris

04/29/2020 at 03:25PM