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_

1876 active golfers, 7905 entries

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

01/02/2020 at 08:52AM

22
#>518 - Tefe / @tefetic

01/02/2020 at 08:54AM

23
#>706 - Tefe / @tefetic

01/02/2020 at 08:47AM

24
#>904 - Tefe / @tefetic

01/02/2020 at 08:46AM

26
#>1087 - Tefe / @tefetic

01/02/2020 at 08:44AM

27
#>1164 - Tefe / @tefetic

01/02/2020 at 08:42AM

28
#>1245 - Tefe / @tefetic

01/02/2020 at 08:36AM

30
#>1387 - Tefe / @tefetic

01/02/2020 at 08:31AM

31
#>1449 - Tefe / @tefetic

01/02/2020 at 08:34AM

31
#>1449 - Tefe / @tefetic

01/02/2020 at 08:39AM

35
#>1630 - Tefe / @tefetic

01/02/2020 at 08:29AM

40
#>1712 - Tefe / @tefetic

01/02/2020 at 08:19AM

43
#>1741 - Tefe / @tefetic

01/02/2020 at 08:26AM

51
#>1780 - Tefe / @tefetic

01/02/2020 at 08:17AM