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

871 active golfers, 3582 entries

Leaderboard (lowest score wins):
23
#301 - Jairo Suarez / @xyos

05/08/2019 at 03:15PM

23
#302 - test / @test35595941

05/09/2019 at 03:07AM

23
#303 - heppen / @heppen_He

05/10/2019 at 08:59AM

23
#304 - Przemek Kurek / @PrzemekKurek

05/11/2019 at 09:20PM

23
#305 - Fabrizio Perria / @FPerria

05/12/2019 at 07:26AM

23
#306 - regsdev / @regsdev

05/12/2019 at 09:07PM

23
#307 - ゆきみ / @edp02

05/12/2019 at 11:14PM

23
#308 - arsi arola / @mos_kiitto

05/15/2019 at 11:56AM

23
#309 - Damian Rodriguez / @damianrr

05/16/2019 at 06:17PM

23
#310 - Coruja Queridinha / @miriamretka

05/19/2019 at 12:29PM

23
#311 - tynanguerra / @tynanguerra

05/20/2019 at 07:35PM

23
#312 - Joe Reddington / @joereddington

05/21/2019 at 03:23PM

23
#313 - Kim bong yeon / @socoolbear

05/24/2019 at 12:37PM

23
#314 - Théo / @Theodnls

05/25/2019 at 11:59PM

23
#315 - Lie Ryan / @lieryan

05/31/2019 at 09:04AM

23
#316 - mkaminaga / @mkmng3

06/01/2019 at 02:28AM

23
#317 - aleix / @amg_fish

06/01/2019 at 04:20AM

23
#318 - Jonáš Šerých / @serycjon

06/03/2019 at 03:40PM

23
#319 - Kris Ezra / @kris_ezra

06/06/2019 at 04:32AM

23
#320 - deurzen / @devrzen

06/06/2019 at 10:38AM

23
#321 - Ben M / @Sweet_Scientist

06/06/2019 at 11:36AM

23
#322 - Will Durney / @WillDurney

06/06/2019 at 08:49PM

23
#323 - Alex Yu / @sixianyu

06/07/2019 at 06:35AM

23
#324 - summingbest / @summingbest

06/10/2019 at 03:45AM

23
#325 - Alexey Vyskubov / @avysk

06/13/2019 at 11:39AM

23
#326 - couaber / @couaber

06/20/2019 at 04:45PM

23
#327 - Florian Suess / @suessflorian

06/23/2019 at 05:05AM

23
#328 - phoibos92@gmail.com / @phoibos92

06/23/2019 at 09:49AM

23
#329 - Brian Olpin / @bolpin

06/24/2019 at 01:52AM

23
#330 - Egor Fedkin / @Jet_Flynn

06/24/2019 at 06:53AM