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

1799 active golfers, 7567 entries

Leaderboard (lowest score wins):
22
#451 - Gitsnik / @dracyrys

04/17/2019 at 01:52PM

22
#452 - Andy Balaam / @andybalaam

05/03/2019 at 03:36PM

22
#453 - Manos Koutselakis / @koutselakis_m

05/05/2019 at 12:44AM

22
#454 - Nolen Royalty / @NolenRoyalty

05/12/2019 at 05:25PM

22
#455 - alexandrasou / @alexandrasou2

05/22/2019 at 11:12PM

22
#456 - aggums / @touhoueurobeat

05/24/2019 at 03:44PM

22
#457 - Kevin Kuchta / @kkuchta

05/29/2019 at 04:31PM

22
#458 - Hao-Ting Wang / @HaoTingW713

06/20/2019 at 04:11PM

22
#459 - yovimaster / @yovimaster

06/21/2019 at 08:41AM

22
#460 - Marcin Radomski / @_dextero

06/24/2019 at 06:39PM

22
#461 - garry quested / @GQuested

07/03/2019 at 02:19PM

22
#462 - Igor Yalovoy / @ylv_io

07/09/2019 at 08:59PM

22
#463 - Mens Jender / @Todesshnizzle

07/10/2019 at 11:35AM

22
#464 - Kvazhir / @kvazhir

07/10/2019 at 03:17PM

22
#465 - Denis / @4NNTGudvin

07/11/2019 at 09:47AM

22
#466 - ^spew$ / @spew79241369

07/17/2019 at 01:13AM

22
#467 - vana / @vana15129217

07/22/2019 at 01:02PM

22
#468 - Bradley M. Small / @BradleySmall

08/02/2019 at 12:52AM

22
#469 - matthew brett / @matthewbrett

08/08/2019 at 02:28AM

22
#470 - forvimgolf / @forvimgolf2

08/08/2019 at 01:48PM

22
#471 - Nate Hanson / @nayyfin

08/08/2019 at 06:10PM

22
#472 - Nicolas 👨‍💻🇨🇦 / @martinni39

08/09/2019 at 07:43PM

22
#473 - Daisuke Ito / @itodais

08/23/2019 at 06:32PM

22
#474 - Ivo Blöchliger / @aigledesalpes

08/24/2019 at 06:40PM

22
#475 - Khamnhoui-Boulom / @k_nhoui

09/17/2019 at 07:49AM

22
#476 - Howl / @Howlxx55

10/04/2019 at 01:56PM

22
#477 - Lukas Turcani / @LTurcani

10/10/2019 at 03:34PM

22
#478 - Jörg Meyer / @JoergMy

10/19/2019 at 07:32PM

22
#479 - Alex Emelianov / @AlexEmelianov3

10/20/2019 at 01:07AM

22
#480 - GolfingWithVim1 / @Vim1With

10/20/2019 at 02:25PM