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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 1885 remaining solutions by signing in and submitting your own entry
#1886 Daniel Snitkovskiy / @DSnitkovskiy - Score: 198 - 04/07/19 @ 06:27
i<CR>jk<BS><BS><Esc>:source .vimrc<CR>$i<Right><CR>#jkbwyiwpppppp0ywppp$XXbbBBbbbbbbppppp0ywpppp$###bbjkjk<Esc><CR>nijkbbbbbbbbi# jkkjk$i##jk/my<CR><Esc>nn<CR><CR>jk$ijXjkxXjkki###jXjkXxkji<Right> #<CR><BS>jkhllw$i####jkjbbbbbbbbxiwajkbbbbbb$i#jkjji#jk:x<CR>

0 comments


Created by: @TitouanT_

1886 active golfers, 7954 entries

Leaderboard (lowest score wins):
31
#1471 - stanley förster / @stnlyfrstr

09/23/2020 at 01:28PM

31
#1472 - Asbjørn Riddervold / @ARiddervold

10/11/2020 at 07:12PM

31
#1473 - noam teyssier / @noamteyssier

10/15/2020 at 02:32AM

31
#1474 - Filipe 💙 / @ABarroso

10/24/2020 at 04:36PM

31
#1475 - Arryue / @Arryue2

11/07/2020 at 06:56AM

31
#1476 - Daniel Latzer / @tournqat

11/19/2020 at 07:20AM

31
#1477 - Finniboy / @OrangeFrano

12/11/2020 at 05:26PM

31
#1478 - Denny Huang / @denny0223

12/22/2020 at 06:51AM

31
#1479 - fff / @fff51460170

01/03/2021 at 10:55AM

31
#1480 - Marcin Dostojewski / @MarcinekAGH

01/10/2021 at 02:58PM

31
#1481 - this is for vim golf / @Dis4VimGolf

01/12/2021 at 11:39PM

31
#1482 - pomélux / @pomelux

03/10/2021 at 08:53PM

31
#1483 - luke37842 / @luke37842

05/14/2024 at 06:14PM

32
#1484 - Holden Lewis / @lonnez90

03/09/2019 at 12:38AM

32
#1485 - Jonathan C. Dietrich / @jcdietrich

03/13/2019 at 02:49PM

32
#1486 - etherflow / @etherfl0w

04/01/2019 at 03:15PM

32
#1487 - HMSBoaty / @HMS_Boaty

04/09/2019 at 10:09PM

32
#1488 - てんなし / @tnnsh1

04/22/2019 at 07:35AM

32
#1489 - Manuel Filz / @f1l2

04/23/2019 at 04:18PM

32
#1490 - Michaël Lévesque-Dion / @mlevesquedion

04/25/2019 at 12:39AM

32
#1491 - kenzie / @kenziefcc

05/10/2019 at 06:04PM

32
#1492 - TheJoblessGuyTalks / @the_jgt

05/27/2019 at 01:12PM

32
#1493 - version 34.053a / @Age_of_machines

05/27/2019 at 01:44PM

32
#1494 - kelaktaa / @kelaktaa

06/05/2019 at 04:42PM

32
#1495 - SnakyPoutz / @snakypoutz

06/06/2019 at 08:24AM

32
#1496 - Erik Mattfolk / @ErikMattfolk

06/06/2019 at 10:53AM

32
#1497 - Noel Evans / @noelevans

06/06/2019 at 09:02PM

32
#1498 - Joe Cabezas / @JoeCabezas

06/20/2019 at 06:47PM

32
#1499 - David Needham / @davidmneedham

07/20/2019 at 01:53AM

32
#1500 - David / @davidrapsey

08/18/2019 at 07:56AM