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

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

1865 active golfers, 7828 entries

Solutions by @m39752809546:
21
#433 - m397 / @m39752809546

05/12/2021 at 11:20AM

22
#>548 - m397 / @m39752809546

05/12/2021 at 11:18AM

23
#>802 - m397 / @m39752809546

05/12/2021 at 11:16AM

24
#>970 - m397 / @m39752809546

05/12/2021 at 08:02AM

26
#>1105 - m397 / @m39752809546

05/12/2021 at 07:59AM

27
#>1190 - m397 / @m39752809546

05/12/2021 at 07:56AM

29
#>1348 - m397 / @m39752809546

05/12/2021 at 07:46AM

34
#>1594 - m397 / @m39752809546

05/12/2021 at 07:42AM

35
#>1622 - m397 / @m39752809546

05/12/2021 at 07:40AM

39
#>1692 - m397 / @m39752809546

05/12/2021 at 07:39AM

40
#>1705 - m397 / @m39752809546

05/11/2021 at 07:51PM

43
#>1735 - m397 / @m39752809546

05/12/2021 at 07:35AM

53
#>1775 - m397 / @m39752809546

05/12/2021 at 07:51AM