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

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

1895 active golfers, 7987 entries

Solutions by @ErSt46286501:
21
#388 - Er St / @ErSt46286501

10/06/2020 at 10:28AM

21
#>388 - Er St / @ErSt46286501

10/06/2020 at 10:29AM

21
#>388 - Er St / @ErSt46286501

10/06/2020 at 10:31AM

22
#>549 - Er St / @ErSt46286501

10/06/2020 at 10:26AM

23
#>785 - Er St / @ErSt46286501

10/06/2020 at 10:24AM

24
#>966 - Er St / @ErSt46286501

10/06/2020 at 10:22AM

25
#>1041 - Er St / @ErSt46286501

10/06/2020 at 10:20AM

26
#>1117 - Er St / @ErSt46286501

10/06/2020 at 10:18AM

27
#>1200 - Er St / @ErSt46286501

10/06/2020 at 10:15AM

28
#>1282 - Er St / @ErSt46286501

10/06/2020 at 10:12AM

29
#>1364 - Er St / @ErSt46286501

10/06/2020 at 10:09AM

29
#>1364 - Er St / @ErSt46286501

10/06/2020 at 10:13AM

32
#>1528 - Er St / @ErSt46286501

10/06/2020 at 10:07AM

35
#>1648 - Er St / @ErSt46286501

10/06/2020 at 10:04AM

39
#>1719 - Er St / @ErSt46286501

10/06/2020 at 09:51AM

44
#>1770 - Er St / @ErSt46286501

10/06/2020 at 09:48AM