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

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

1861 active golfers, 7818 entries

Solutions by @season_303030:
24
#892 - 煮沸的白開水 / @season_303030

12/01/2019 at 03:44PM

24
#>892 - 煮沸的白開水 / @season_303030

12/01/2019 at 03:45PM

24
#>892 - 煮沸的白開水 / @season_303030

12/01/2019 at 03:47PM

25
#>998 - 煮沸的白開水 / @season_303030

12/01/2019 at 03:42PM

25
#>998 - 煮沸的白開水 / @season_303030

12/01/2019 at 03:42PM

27
#>1146 - 煮沸的白開水 / @season_303030

12/01/2019 at 03:40PM

29
#>1315 - 煮沸的白開水 / @season_303030

12/01/2019 at 03:37PM

31
#>1433 - 煮沸的白開水 / @season_303030

12/01/2019 at 03:26PM

33
#>1530 - 煮沸的白開水 / @season_303030

12/01/2019 at 02:58PM

34
#>1573 - 煮沸的白開水 / @season_303030

12/01/2019 at 02:56PM

35
#>1613 - 煮沸的白開水 / @season_303030

12/01/2019 at 02:53PM

36
#>1634 - 煮沸的白開水 / @season_303030

12/01/2019 at 02:50PM

43
#>1727 - 煮沸的白開水 / @season_303030

12/01/2019 at 02:41PM

55
#>1775 - 煮沸的白開水 / @season_303030

12/01/2019 at 02:38PM

74
#>1817 - 煮沸的白開水 / @season_303030

12/01/2019 at 02:36PM