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

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

1864 active golfers, 7827 entries

Solutions by @tefetic:
22
#515 - Tefe / @tefetic

01/02/2020 at 08:52AM

22
#>515 - Tefe / @tefetic

01/02/2020 at 08:54AM

23
#>704 - Tefe / @tefetic

01/02/2020 at 08:47AM

24
#>900 - Tefe / @tefetic

01/02/2020 at 08:46AM

26
#>1081 - Tefe / @tefetic

01/02/2020 at 08:44AM

27
#>1157 - Tefe / @tefetic

01/02/2020 at 08:42AM

28
#>1237 - Tefe / @tefetic

01/02/2020 at 08:36AM

30
#>1377 - Tefe / @tefetic

01/02/2020 at 08:31AM

31
#>1439 - Tefe / @tefetic

01/02/2020 at 08:34AM

31
#>1439 - Tefe / @tefetic

01/02/2020 at 08:39AM

35
#>1619 - Tefe / @tefetic

01/02/2020 at 08:29AM

40
#>1701 - Tefe / @tefetic

01/02/2020 at 08:19AM

43
#>1730 - Tefe / @tefetic

01/02/2020 at 08:26AM

51
#>1768 - Tefe / @tefetic

01/02/2020 at 08:17AM