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_

1864 active golfers, 7827 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
#>542 - Er St / @ErSt46286501

10/06/2020 at 10:26AM

23
#>778 - Er St / @ErSt46286501

10/06/2020 at 10:24AM

24
#>953 - Er St / @ErSt46286501

10/06/2020 at 10:22AM

25
#>1026 - Er St / @ErSt46286501

10/06/2020 at 10:20AM

26
#>1101 - Er St / @ErSt46286501

10/06/2020 at 10:18AM

27
#>1183 - Er St / @ErSt46286501

10/06/2020 at 10:15AM

28
#>1263 - Er St / @ErSt46286501

10/06/2020 at 10:12AM

29
#>1342 - Er St / @ErSt46286501

10/06/2020 at 10:09AM

29
#>1342 - Er St / @ErSt46286501

10/06/2020 at 10:13AM

32
#>1502 - Er St / @ErSt46286501

10/06/2020 at 10:07AM

35
#>1621 - Er St / @ErSt46286501

10/06/2020 at 10:04AM

39
#>1691 - Er St / @ErSt46286501

10/06/2020 at 09:51AM

44
#>1739 - Er St / @ErSt46286501

10/06/2020 at 09:48AM