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

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

1865 active golfers, 7828 entries

Solutions by @SanDForcE94:
21
#180 - Andac Safa / @SanDForcE94

09/10/2019 at 06:22AM

23
#>674 - Andac Safa / @SanDForcE94

09/07/2019 at 03:52PM

24
#>878 - Andac Safa / @SanDForcE94

09/07/2019 at 03:48PM

25
#>992 - Andac Safa / @SanDForcE94

09/06/2019 at 03:15PM

27
#>1143 - Andac Safa / @SanDForcE94

09/06/2019 at 09:49AM

32
#>1484 - Andac Safa / @SanDForcE94

09/06/2019 at 09:45AM

38
#>1667 - Andac Safa / @SanDForcE94

09/06/2019 at 09:40AM