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_

1864 active golfers, 7827 entries

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

05/21/2019 at 03:23PM

24
#>848 - Joe Reddington / @joereddington

05/21/2019 at 03:17PM

24
#>848 - Joe Reddington / @joereddington

05/21/2019 at 03:19PM

24
#>848 - Joe Reddington / @joereddington

05/21/2019 at 03:21PM

26
#>1053 - Joe Reddington / @joereddington

05/21/2019 at 03:16PM

26
#>1053 - Joe Reddington / @joereddington

05/21/2019 at 03:21PM

29
#>1288 - Joe Reddington / @joereddington

05/21/2019 at 03:15PM

30
#>1362 - Joe Reddington / @joereddington

05/21/2019 at 03:14PM

33
#>1512 - Joe Reddington / @joereddington

05/21/2019 at 03:11PM

36
#>1626 - Joe Reddington / @joereddington

05/21/2019 at 03:09PM

36
#>1626 - Joe Reddington / @joereddington

05/21/2019 at 03:13PM

38
#>1666 - Joe Reddington / @joereddington

05/21/2019 at 03:14PM

42
#>1716 - Joe Reddington / @joereddington

05/21/2019 at 03:09PM

59
#>1792 - Joe Reddington / @joereddington

05/21/2019 at 03:08PM