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

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

1819 active golfers, 7622 entries

Solutions by @dezhonger:
21
#376 - dezhonger / @dezhonger

09/01/2020 at 04:19PM

22
#>523 - dezhonger / @dezhonger

09/01/2020 at 04:16PM

23
#>752 - dezhonger / @dezhonger

09/01/2020 at 04:08PM

24
#>915 - dezhonger / @dezhonger

09/01/2020 at 04:07PM

25
#>988 - dezhonger / @dezhonger

09/01/2020 at 04:07PM

26
#>1065 - dezhonger / @dezhonger

09/01/2020 at 04:05PM

27
#>1143 - dezhonger / @dezhonger

09/01/2020 at 04:02PM

28
#>1220 - dezhonger / @dezhonger

09/01/2020 at 03:58PM

29
#>1302 - dezhonger / @dezhonger

09/01/2020 at 03:56PM

32
#>1459 - dezhonger / @dezhonger

09/01/2020 at 03:55PM

36
#>1604 - dezhonger / @dezhonger

09/01/2020 at 03:47PM

37
#>1616 - dezhonger / @dezhonger

09/01/2020 at 03:41PM

54
#>1732 - dezhonger / @dezhonger

08/31/2020 at 06:27PM

57
#>1742 - dezhonger / @dezhonger

09/01/2020 at 03:40PM