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

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

1876 active golfers, 7905 entries

Solutions by @jyuxian:
23
#610 - jyuxian / @jyuxian

05/04/2019 at 05:24AM

24
#>843 - jyuxian / @jyuxian

05/04/2019 at 05:18AM

24
#>843 - jyuxian / @jyuxian

05/04/2019 at 05:21AM

24
#>843 - jyuxian / @jyuxian

05/04/2019 at 05:31AM

24
#>904 - jyuxian / @jyuxian

01/04/2020 at 04:32AM

25
#>985 - jyuxian / @jyuxian

05/04/2019 at 05:17AM

26
#>1057 - jyuxian / @jyuxian

05/04/2019 at 05:32AM

27
#>1132 - jyuxian / @jyuxian

05/04/2019 at 05:13AM

27
#>1164 - jyuxian / @jyuxian

01/04/2020 at 04:29AM

30
#>1370 - jyuxian / @jyuxian

05/04/2019 at 05:09AM

31
#>1428 - jyuxian / @jyuxian

05/04/2019 at 05:06AM

32
#>1481 - jyuxian / @jyuxian

05/04/2019 at 05:01AM

36
#>1637 - jyuxian / @jyuxian

05/04/2019 at 04:54AM

45
#>1752 - jyuxian / @jyuxian

05/04/2019 at 04:51AM

86
#>1849 - jyuxian / @jyuxian

05/04/2019 at 04:46AM