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

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

1876 active golfers, 7905 entries

Solutions by @jeremy_soller:
21
#208 - @soller@fosstodon.org / @jeremy_soller

10/18/2019 at 03:00AM

22
#>499 - @soller@fosstodon.org / @jeremy_soller

10/18/2019 at 03:00AM

23
#>686 - @soller@fosstodon.org / @jeremy_soller

10/18/2019 at 02:59AM

24
#>891 - @soller@fosstodon.org / @jeremy_soller

10/18/2019 at 02:58AM

25
#>1000 - @soller@fosstodon.org / @jeremy_soller

10/18/2019 at 02:57AM

26
#>1080 - @soller@fosstodon.org / @jeremy_soller

10/18/2019 at 02:56AM

27
#>1152 - @soller@fosstodon.org / @jeremy_soller

10/18/2019 at 02:53AM

28
#>1236 - @soller@fosstodon.org / @jeremy_soller

10/18/2019 at 02:51AM

30
#>1383 - @soller@fosstodon.org / @jeremy_soller

10/18/2019 at 02:49AM

34
#>1587 - @soller@fosstodon.org / @jeremy_soller

10/18/2019 at 02:46AM

37
#>1668 - @soller@fosstodon.org / @jeremy_soller

10/18/2019 at 02:48AM