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

1874 active golfers, 7902 entries

Leaderboard (lowest score wins):
23
#571 - Kyle Tilman / @kyletilman

03/08/2019 at 08:25PM

23
#572 - Tarik IRHBOULA / @tarik12009

03/10/2019 at 06:22PM

23
#573 - Isaak Meier / @IsaakMeier

03/12/2019 at 02:16PM

23
#574 - Timothy Michael Fox / @Timothy_M_Fox

03/12/2019 at 06:42PM

23
#575 - Andrius Bentkus / @andriusbentkus

03/13/2019 at 12:50PM

23
#576 - Nick Barth / @NickBarth

03/13/2019 at 03:40PM

23
#577 - Adam Hall / @adamhalldesigns

03/14/2019 at 07:06PM

23
#578 - ———đίxίє—flαтlίиє——— / @_dixie_flatline

03/15/2019 at 09:36PM

23
#579 - 이혁준 / @biper94

03/18/2019 at 03:04AM

23
#580 - Duke Du / @DukeDu2

03/18/2019 at 04:44AM

23
#581 - James Perry Hartman / @JauntyJPH

03/18/2019 at 04:08PM

23
#582 - Sam Kim / @samkimhis

03/18/2019 at 05:40PM

23
#583 - Mihai / @mihaicristiant

03/20/2019 at 10:01AM

23
#584 - Florian Maisonnial / @floZx

03/20/2019 at 02:49PM

23
#585 - ゴリラ@ウホウホウホウホウウホウホウホウホウウホウホウホウホウウホウホウホウホウウホウホウホウホウウ / @gorilla0513

03/26/2019 at 11:40AM

23
#586 - Michał Łowicki / @mlowicki

03/26/2019 at 10:06PM

23
#587 - bonky / @bonky87781349

03/27/2019 at 04:22PM

23
#588 - Maximilian F. / @TheMaex

03/30/2019 at 12:37AM

23
#589 - bokkii / @bokkii7

03/30/2019 at 02:58AM

23
#590 - Louie / @LouieShepDog

03/31/2019 at 08:05PM

23
#591 - kodemaan / @kodemaan

04/02/2019 at 08:48PM

23
#592 - Dylan / @helloasdff

04/03/2019 at 01:34PM

23
#593 - OtterPy / @OtterPy

04/05/2019 at 07:57AM

23
#594 - Remy Oudemans / @OudemansRemy

04/06/2019 at 10:01AM

23
#595 - Mikhail K. / @_mkl_k

04/06/2019 at 08:47PM

23
#596 - Wilson Chang / @ckwojai

04/09/2019 at 04:31AM

23
#597 - Bob_V / @Bob_V

04/09/2019 at 11:08AM

23
#598 - かなたBtB / @KanataBtB

04/09/2019 at 01:03PM

23
#599 - Leo Huang / @cbreezier

04/09/2019 at 10:51PM

23
#600 - Malo Bourgon / @m_bourgon

04/09/2019 at 11:50PM