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

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

1895 active golfers, 7987 entries

Solutions by @joereddington:
23
#633 - Joe Reddington / @joereddington

05/21/2019 at 03:23PM

24
#>861 - Joe Reddington / @joereddington

05/21/2019 at 03:17PM

24
#>861 - Joe Reddington / @joereddington

05/21/2019 at 03:19PM

24
#>861 - Joe Reddington / @joereddington

05/21/2019 at 03:21PM

26
#>1069 - Joe Reddington / @joereddington

05/21/2019 at 03:16PM

26
#>1069 - Joe Reddington / @joereddington

05/21/2019 at 03:21PM

29
#>1310 - Joe Reddington / @joereddington

05/21/2019 at 03:15PM

30
#>1387 - Joe Reddington / @joereddington

05/21/2019 at 03:14PM

33
#>1539 - Joe Reddington / @joereddington

05/21/2019 at 03:11PM

36
#>1653 - Joe Reddington / @joereddington

05/21/2019 at 03:09PM

36
#>1653 - Joe Reddington / @joereddington

05/21/2019 at 03:13PM

38
#>1694 - Joe Reddington / @joereddington

05/21/2019 at 03:14PM

42
#>1745 - Joe Reddington / @joereddington

05/21/2019 at 03:09PM

59
#>1823 - Joe Reddington / @joereddington

05/21/2019 at 03:08PM