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_

1891 active golfers, 7962 entries

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

05/12/2021 at 11:20AM

22
#>552 - m397 / @m39752809546

05/12/2021 at 11:18AM

23
#>806 - m397 / @m39752809546

05/12/2021 at 11:16AM

24
#>979 - m397 / @m39752809546

05/12/2021 at 08:02AM

26
#>1117 - m397 / @m39752809546

05/12/2021 at 07:59AM

27
#>1203 - m397 / @m39752809546

05/12/2021 at 07:56AM

29
#>1365 - m397 / @m39752809546

05/12/2021 at 07:46AM

34
#>1616 - m397 / @m39752809546

05/12/2021 at 07:42AM

35
#>1644 - m397 / @m39752809546

05/12/2021 at 07:40AM

39
#>1715 - m397 / @m39752809546

05/12/2021 at 07:39AM

40
#>1729 - m397 / @m39752809546

05/11/2021 at 07:51PM

43
#>1760 - m397 / @m39752809546

05/12/2021 at 07:35AM

53
#>1801 - m397 / @m39752809546

05/12/2021 at 07:51AM