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

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

1819 active golfers, 7622 entries

Solutions by @KaiLi19:
22
#514 - Kai.Li / @KaiLi19

05/25/2020 at 07:54AM

22
#>514 - Kai.Li / @KaiLi19

05/25/2020 at 08:51AM

23
#>582 - Kai.Li / @KaiLi19

04/27/2019 at 05:26AM

23
#>723 - Kai.Li / @KaiLi19

05/25/2020 at 07:38AM

23
#>723 - Kai.Li / @KaiLi19

05/25/2020 at 07:39AM

24
#>805 - Kai.Li / @KaiLi19

04/27/2019 at 05:20AM

24
#>805 - Kai.Li / @KaiLi19

04/27/2019 at 05:23AM

25
#>946 - Kai.Li / @KaiLi19

04/27/2019 at 05:12AM

25
#>982 - Kai.Li / @KaiLi19

05/25/2020 at 07:36AM

26
#>1015 - Kai.Li / @KaiLi19

04/27/2019 at 05:09AM

27
#>1133 - Kai.Li / @KaiLi19

05/25/2020 at 07:20AM

27
#>1133 - Kai.Li / @KaiLi19

05/25/2020 at 07:38AM

27
#>1133 - Kai.Li / @KaiLi19

05/25/2020 at 07:39AM

29
#>1245 - Kai.Li / @KaiLi19

04/27/2019 at 04:55AM

29
#>1245 - Kai.Li / @KaiLi19

04/27/2019 at 04:56AM

30
#>1317 - Kai.Li / @KaiLi19

04/27/2019 at 04:26AM

31
#>1376 - Kai.Li / @KaiLi19

04/27/2019 at 04:50AM

31
#>1376 - Kai.Li / @KaiLi19

04/27/2019 at 04:53AM

31
#>1376 - Kai.Li / @KaiLi19

04/27/2019 at 04:54AM

31
#>1403 - Kai.Li / @KaiLi19

05/25/2020 at 07:19AM

32
#>1428 - Kai.Li / @KaiLi19

04/27/2019 at 04:22AM

33
#>1470 - Kai.Li / @KaiLi19

04/27/2019 at 04:44AM

33
#>1470 - Kai.Li / @KaiLi19

04/27/2019 at 04:55AM

37
#>1609 - Kai.Li / @KaiLi19

04/27/2019 at 04:20AM

38
#>1623 - Kai.Li / @KaiLi19

04/27/2019 at 04:16AM

39
#>1642 - Kai.Li / @KaiLi19

04/27/2019 at 04:25AM

40
#>1653 - Kai.Li / @KaiLi19

04/27/2019 at 04:15AM

46
#>1704 - Kai.Li / @KaiLi19

04/27/2019 at 04:12AM

98
#>1800 - Kai.Li / @KaiLi19

04/27/2019 at 04:08AM

117
#>1810 - Kai.Li / @KaiLi19

05/25/2020 at 08:11AM