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
#301 - zh0ng / @zh00ng

03/05/2019 at 12:52PM

23
#302 - Victor Ramirez / @virako

03/06/2019 at 11:44PM

23
#303 - Greg Anders / @gregory_anders

03/07/2019 at 06:41PM

23
#304 - dungeon_master / @dungeon27205778

03/08/2019 at 02:02PM

23
#305 - Kyle Tilman / @kyletilman

03/08/2019 at 08:25PM

23
#306 - Tarik IRHBOULA / @tarik12009

03/10/2019 at 06:22PM

23
#307 - John Sumner / @rjsumner

03/11/2019 at 02:25AM

23
#308 - Isaak Meier / @IsaakMeier

03/12/2019 at 02:16PM

23
#309 - Timothy Michael Fox / @Timothy_M_Fox

03/12/2019 at 06:42PM

23
#310 - Arijus / @argshook

03/13/2019 at 12:39PM

23
#311 - Andrius Bentkus / @andriusbentkus

03/13/2019 at 12:50PM

23
#312 - Nick Barth / @NickBarth

03/13/2019 at 03:40PM

23
#313 - Adam Hall / @adamhalldesigns

03/14/2019 at 07:06PM

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

03/15/2019 at 09:36PM

23
#315 - 이혁준 / @biper94

03/18/2019 at 03:04AM

23
#316 - Duke Du / @DukeDu2

03/18/2019 at 04:44AM

23
#317 - James Perry Hartman / @JauntyJPH

03/18/2019 at 04:08PM

23
#318 - Sam Kim / @samkimhis

03/18/2019 at 05:40PM

23
#319 - Mihai / @mihaicristiant

03/20/2019 at 10:01AM

23
#320 - Florian Maisonnial / @floZx

03/20/2019 at 02:49PM

23
#321 - ゴリラ@技術書典7 き47D / @gorilla0513

03/26/2019 at 11:40AM

23
#322 - Michał Łowicki / @mlowicki

03/26/2019 at 10:06PM

23
#323 - bonky / @bonky87781349

03/27/2019 at 04:22PM

23
#324 - Maximilian F. / @TheMaex

03/30/2019 at 12:37AM

23
#325 - bokkii / @bokkii7

03/30/2019 at 02:58AM

23
#326 - Louie / @LouieShepDog

03/31/2019 at 08:05PM

23
#327 - kodemaan / @kodemaan

04/02/2019 at 08:48PM

23
#328 - Dylan / @helloasdff

04/03/2019 at 01:34PM

23
#329 - Loنtre / @OtterPy

04/05/2019 at 07:57AM

23
#330 - Remy Oudemans / @OudemansRemy

04/06/2019 at 10:01AM