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

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

1865 active golfers, 7828 entries

Solutions by @FICSQF:
21
#288 - せいほう / @FICSQF

03/12/2020 at 09:03AM

23
#>723 - せいほう / @FICSQF

03/12/2020 at 08:58AM

23
#>723 - せいほう / @FICSQF

03/12/2020 at 08:59AM

24
#>862 - せいほう / @FICSQF

07/03/2019 at 03:27AM

24
#>914 - せいほう / @FICSQF

03/12/2020 at 08:53AM

25
#>987 - せいほう / @FICSQF

07/03/2019 at 03:24AM

25
#>1002 - せいほう / @FICSQF

01/08/2020 at 04:13AM

26
#>1058 - せいほう / @FICSQF

07/03/2019 at 03:20AM

28
#>1215 - せいほう / @FICSQF

07/03/2019 at 03:18AM

34
#>1573 - せいほう / @FICSQF

07/03/2019 at 03:16AM

37
#>1657 - せいほう / @FICSQF

07/03/2019 at 03:13AM