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

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

1887 active golfers, 7956 entries

Solutions by @wuwe19:
23
#722 - 骑空士阿为 / @wuwe19

02/12/2020 at 10:18AM

24
#>917 - 骑空士阿为 / @wuwe19

02/12/2020 at 10:16AM

26
#>1096 - 骑空士阿为 / @wuwe19

02/12/2020 at 10:12AM

27
#>1176 - 骑空士阿为 / @wuwe19

02/12/2020 at 10:10AM

59
#>1815 - 骑空士阿为 / @wuwe19

02/12/2020 at 10:05AM

60
#>1818 - 骑空士阿为 / @wuwe19

02/12/2020 at 10:07AM

61
#>1822 - 骑空士阿为 / @wuwe19

02/12/2020 at 10:02AM

64
#>1827 - 骑空士阿为 / @wuwe19

02/12/2020 at 09:56AM

65
#>1830 - 骑空士阿为 / @wuwe19

02/12/2020 at 09:59AM

66
#>1833 - 骑空士阿为 / @wuwe19

02/12/2020 at 09:55AM

66
#>1833 - 骑空士阿为 / @wuwe19

02/12/2020 at 09:58AM

85
#>1860 - 骑空士阿为 / @wuwe19

02/12/2020 at 09:54AM

109
#>1872 - 骑空士阿为 / @wuwe19

02/12/2020 at 09:47AM