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 1020 remaining solutions by signing in and submitting your own entry
#1021 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_

1021 active golfers, 4246 entries

Leaderboard (lowest score wins):
23
#331 - Mikhail K. / @_mkl_k

04/06/2019 at 08:47PM

23
#332 - Wilson Chang / @ckwojai

04/09/2019 at 04:31AM

23
#333 - Bob_V / @Bob_V

04/09/2019 at 11:08AM

23
#334 - かなたBtB / @KanataBtB

04/09/2019 at 01:03PM

23
#335 - Leo Huang / @cbreezier

04/09/2019 at 10:51PM

23
#336 - Malo Bourgon / @m_bourgon

04/09/2019 at 11:50PM

23
#337 - alekfed / @alek_fed

04/14/2019 at 09:10AM

23
#338 - Bruno Ely / @brunoely

04/16/2019 at 10:46PM

23
#339 - mag1cal.unic0rn / @unic0rn_mag1cal

04/18/2019 at 10:13AM

23
#340 - Darren Weston / @dazWestonUK

04/19/2019 at 01:52PM

23
#341 - 波波 / @sbob87

04/24/2019 at 09:06AM

23
#342 - BenL / @BenL86660733

04/25/2019 at 04:33PM

23
#343 - Kai.Li / @KaiLi19

04/27/2019 at 05:26AM

23
#344 - ow / @ow34480012

05/02/2019 at 09:45AM

23
#345 - James Stidard / @JamesStidard

05/02/2019 at 09:04PM

23
#346 - hoge2341836 / @RootShunsuke

05/03/2019 at 02:08AM

23
#347 - jyuxian / @jyuxian

05/04/2019 at 05:24AM

23
#348 - Sebastien Nicoud / @sebnukem

05/05/2019 at 01:07AM

23
#349 - tottulf / @tottulf

05/05/2019 at 06:58PM

23
#350 - /d͡ʒuˈzɛp.pe/ / @gcapizzi

05/07/2019 at 11:23AM

23
#351 - ippachi / @ippachi1218

05/07/2019 at 03:29PM

23
#352 - Kasper Siig / @knsiig

05/07/2019 at 04:19PM

23
#353 - Alex Norman / @Aarleks

05/08/2019 at 11:44AM

23
#354 - Jairo Suarez / @xyos

05/08/2019 at 03:15PM

23
#355 - test / @test35595941

05/09/2019 at 03:07AM

23
#356 - heppen / @heppen_He

05/10/2019 at 08:59AM

23
#357 - Przemek Kurek / @PrzemekKurek

05/11/2019 at 09:20PM

23
#358 - Fabrizio Perria / @FPerria

05/12/2019 at 07:26AM

23
#359 - regsdev / @regsdev

05/12/2019 at 09:07PM

23
#360 - ゆきみ / @edp02

05/12/2019 at 11:14PM