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

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

1877 active golfers, 7906 entries

Solutions by @nicosierra84:
23
#707 - nicosierra / @nicosierra84

01/06/2020 at 12:45AM

23
#>707 - nicosierra / @nicosierra84

01/06/2020 at 07:08PM

23
#>715 - nicosierra / @nicosierra84

01/26/2020 at 10:40PM

23
#>729 - nicosierra / @nicosierra84

03/22/2020 at 07:40PM

24
#>904 - nicosierra / @nicosierra84

01/06/2020 at 12:34AM

24
#>907 - nicosierra / @nicosierra84

01/26/2020 at 10:38PM

25
#>1006 - nicosierra / @nicosierra84

01/06/2020 at 12:32AM

26
#>1087 - nicosierra / @nicosierra84

01/06/2020 at 12:26AM

29
#>1328 - nicosierra / @nicosierra84

01/06/2020 at 12:20AM

29
#>1328 - nicosierra / @nicosierra84

01/06/2020 at 12:21AM