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

1500 active golfers, 6313 entries

Leaderboard (lowest score wins):
22
#391 - Nicolas 👨‍💻🇨🇦 / @martinni39

08/09/2019 at 07:43PM

22
#392 - Daisuke Ito / @itodais

08/23/2019 at 06:32PM

22
#393 - Ivo Blöchliger / @aigledesalpes

08/24/2019 at 06:40PM

22
#394 - Khamnhoui-Boulom / @k_nhoui

09/17/2019 at 07:49AM

22
#395 - Howl / @Howlxx55

10/04/2019 at 01:56PM

22
#396 - Lukas Turcani / @LTurcani

10/10/2019 at 03:34PM

22
#397 - Jörg Meyer / @JoergMy

10/19/2019 at 07:32PM

22
#398 - Alex Emelianov / @AlexEmelianov3

10/20/2019 at 01:07AM

22
#399 - GolfingWithVim1 / @Vim1With

10/20/2019 at 02:25PM

22
#400 - Adrian Goldwaser / @AdrianGoldwaser

10/21/2019 at 06:54AM

22
#401 - Incognita / @flutterlice

10/21/2019 at 11:30AM

22
#402 - Marc8888 / @8888Marc

10/26/2019 at 05:55AM

22
#403 - Lory / @Lory46845742

10/29/2019 at 10:53AM

22
#404 - Tokos Apos / @AposTokosapos

11/04/2019 at 09:56AM

22
#405 - fritz_carraldo / @fritz_carraldo

11/08/2019 at 04:13AM

22
#406 - Gianluca Scacco / @gscacco

11/09/2019 at 09:21PM

22
#407 - Lei Kin / @kireinasorakin

11/12/2019 at 10:57AM

22
#408 - Sebastien Premont / @spremont

11/12/2019 at 02:37PM

22
#409 - zlogan / @zlogan2003

11/24/2019 at 04:20PM

22
#410 - Przemysław Michalak / @dambusio

11/25/2019 at 07:43PM

22
#411 - Eric Johnson / @dej79

12/03/2019 at 07:36AM

22
#412 - John Prescott / @wladeczek44

12/11/2019 at 07:56PM

22
#413 - heyyou / @hey3you3

12/12/2019 at 11:29PM

22
#414 - hokonch / @hokonch

12/24/2019 at 11:58AM

22
#415 - Tefe / @tefetic

01/02/2020 at 08:52AM

22
#416 - Chrostopher Leu / @shaggadalic

01/09/2020 at 12:49PM

22
#417 - Felix Boers / @felixboers

01/12/2020 at 04:45PM

22
#418 - 밤색 / @aeisura

01/16/2020 at 04:58AM

22
#419 - Rune Warhuus / @DinkDonkNorway

01/21/2020 at 05:58PM

22
#420 - Renns / @Renns95250521

02/07/2020 at 11:32PM