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

1864 active golfers, 7827 entries

Leaderboard (lowest score wins):
23
#571 - Isaak Meier / @IsaakMeier

03/12/2019 at 02:16PM

23
#572 - Timothy Michael Fox / @Timothy_M_Fox

03/12/2019 at 06:42PM

23
#573 - Andrius Bentkus / @andriusbentkus

03/13/2019 at 12:50PM

23
#574 - Nick Barth / @NickBarth

03/13/2019 at 03:40PM

23
#575 - Adam Hall / @adamhalldesigns

03/14/2019 at 07:06PM

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

03/15/2019 at 09:36PM

23
#577 - 이혁준 / @biper94

03/18/2019 at 03:04AM

23
#578 - Duke Du / @DukeDu2

03/18/2019 at 04:44AM

23
#579 - James Perry Hartman / @JauntyJPH

03/18/2019 at 04:08PM

23
#580 - Sam Kim / @samkimhis

03/18/2019 at 05:40PM

23
#581 - Mihai / @mihaicristiant

03/20/2019 at 10:01AM

23
#582 - Florian Maisonnial / @floZx

03/20/2019 at 02:49PM

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

03/26/2019 at 11:40AM

23
#584 - Michał Łowicki / @mlowicki

03/26/2019 at 10:06PM

23
#585 - bonky / @bonky87781349

03/27/2019 at 04:22PM

23
#586 - Maximilian F. / @TheMaex

03/30/2019 at 12:37AM

23
#587 - bokkii / @bokkii7

03/30/2019 at 02:58AM

23
#588 - Louie / @LouieShepDog

03/31/2019 at 08:05PM

23
#589 - kodemaan / @kodemaan

04/02/2019 at 08:48PM

23
#590 - Dylan / @helloasdff

04/03/2019 at 01:34PM

23
#591 - OtterPy / @OtterPy

04/05/2019 at 07:57AM

23
#592 - Remy Oudemans / @OudemansRemy

04/06/2019 at 10:01AM

23
#593 - Mikhail K. / @_mkl_k

04/06/2019 at 08:47PM

23
#594 - Wilson Chang / @ckwojai

04/09/2019 at 04:31AM

23
#595 - Bob_V / @Bob_V

04/09/2019 at 11:08AM

23
#596 - かなたBtB / @KanataBtB

04/09/2019 at 01:03PM

23
#597 - Leo Huang / @cbreezier

04/09/2019 at 10:51PM

23
#598 - Malo Bourgon / @m_bourgon

04/09/2019 at 11:50PM

23
#599 - alekfed / @alek_fed

04/14/2019 at 09:10AM

23
#600 - Bruno Ely / @brunoely

04/16/2019 at 10:46PM