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_

1867 active golfers, 7830 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
#>543 - Er St / @ErSt46286501

10/06/2020 at 10:26AM

23
#>779 - Er St / @ErSt46286501

10/06/2020 at 10:24AM

24
#>954 - Er St / @ErSt46286501

10/06/2020 at 10:22AM

25
#>1027 - Er St / @ErSt46286501

10/06/2020 at 10:20AM

26
#>1102 - Er St / @ErSt46286501

10/06/2020 at 10:18AM

27
#>1184 - Er St / @ErSt46286501

10/06/2020 at 10:15AM

28
#>1264 - Er St / @ErSt46286501

10/06/2020 at 10:12AM

29
#>1343 - Er St / @ErSt46286501

10/06/2020 at 10:09AM

29
#>1343 - Er St / @ErSt46286501

10/06/2020 at 10:13AM

32
#>1505 - Er St / @ErSt46286501

10/06/2020 at 10:07AM

35
#>1624 - Er St / @ErSt46286501

10/06/2020 at 10:04AM

39
#>1694 - Er St / @ErSt46286501

10/06/2020 at 09:51AM

44
#>1742 - Er St / @ErSt46286501

10/06/2020 at 09:48AM