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

1006 active golfers, 4192 entries

Leaderboard (lowest score wins):
23
#361 - Kim bong yeon / @socoolbear

05/24/2019 at 12:37PM

23
#362 - Théo / @Theodnls

05/25/2019 at 11:59PM

23
#363 - Lie Ryan / @lieryan

05/31/2019 at 09:04AM

23
#364 - mkaminaga / @mkmng3

06/01/2019 at 02:28AM

23
#365 - aleix / @amg_fish

06/01/2019 at 04:20AM

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

06/03/2019 at 03:40PM

23
#367 - Kris Ezra / @kris_ezra

06/06/2019 at 04:32AM

23
#368 - deurzen / @devrzen

06/06/2019 at 10:38AM

23
#369 - Ben M / @Sweet_Scientist

06/06/2019 at 11:36AM

23
#370 - Will Durney / @WillDurney

06/06/2019 at 08:49PM

23
#371 - Alex Yu / @sixianyu

06/07/2019 at 06:35AM

23
#372 - summingbest / @summingbest

06/10/2019 at 03:45AM

23
#373 - Alexey Vyskubov / @avysk

06/13/2019 at 11:39AM

23
#374 - couaber / @couaber

06/20/2019 at 04:45PM

23
#375 - Florian Suess / @suessflorian

06/23/2019 at 05:05AM

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

06/23/2019 at 09:49AM

23
#377 - Brian Olpin / @bolpin

06/24/2019 at 01:52AM

23
#378 - Egor Fedkin / @Jet_Flynn

06/24/2019 at 06:53AM

23
#379 - Epecb / @BceEpecb

06/28/2019 at 11:02PM

23
#380 - Luis Rodriguez / @luisthecoder

07/01/2019 at 09:48AM

23
#381 - Артур Кашаев / @KashaevArthur

07/04/2019 at 01:55PM

23
#382 - Karan Gajwani / @karangb

07/06/2019 at 02:51PM

23
#383 - Benjamin Turner / @passionsplay

07/09/2019 at 03:37AM

23
#384 - Adam Stephen / @2_71828

07/13/2019 at 07:23AM

23
#385 - Bence Nagy / @underyx

07/20/2019 at 10:01AM

23
#386 - Jure Zbontar / @jure_zbontar

07/20/2019 at 01:33PM

23
#387 - Calum Halpin / @calumhalpin

07/21/2019 at 06:57PM

23
#388 - grantopher orange / @grantopher

07/22/2019 at 10:43PM

23
#389 - Amir Hossein / @AmirHRAD8

07/23/2019 at 08:48PM

23
#390 - jestem króliczkiem / @karlicoss

07/25/2019 at 08:25AM