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

1022 active golfers, 4255 entries

Leaderboard (lowest score wins):
23
#421 - Johnson Lu / @wanderlusteee

10/06/2019 at 12:25PM

23
#422 - Sam O'Malley / @Samuel_OMalley

10/11/2019 at 02:18PM

23
#423 - Erik Engstrom / @eengstrom

10/12/2019 at 05:01AM

23
#424 - ErQ325 / @EQ325

10/13/2019 at 07:44AM

23
#425 - leo / @leo28356948

10/17/2019 at 03:14AM

23
#426 - Renan Cidale / @rnescalz

10/20/2019 at 01:37PM

23
#427 - GⷢOⷪTⷮHꙹ / @goth_wrist_cut

10/21/2019 at 09:43AM

23
#428 - yousef Ibrahim / @YucefIbrahim

10/23/2019 at 10:53PM

23
#429 - Gregory Furter / @gfurter

10/26/2019 at 07:36AM

23
#430 - skamgolf / @skamgolf

10/29/2019 at 01:13AM

23
#431 - GrimmT / @GrimmT10

11/01/2019 at 11:16AM

23
#432 - shoji541 / @shoji541

11/03/2019 at 03:22PM

23
#433 - Chris Covert / @covertcj

11/07/2019 at 02:39PM

23
#434 - xiote / @xiote2

11/13/2019 at 05:46AM

23
#435 - mogitate / @mutemeat

11/13/2019 at 03:25PM

23
#436 - 吴建明 / @pysnow530

11/18/2019 at 05:09AM

24
#437 - tPenguinLTG / @tpenguinltg

02/26/2019 at 02:38AM

24
#438 - Jiho Noh / @JihoNoh

02/28/2019 at 08:52PM

24
#439 - Kevin Ullmann / @kevosauce

02/28/2019 at 10:29PM

24
#440 - Amado Antonini / @AmadoAntonini

03/04/2019 at 02:45PM

24
#441 - Saphire Lattice / @SaphireLattice

03/06/2019 at 04:53AM

24
#442 - dungeon_master / @dungeon60120491

03/08/2019 at 10:36AM

24
#443 - Anthony Catterwell / @ACatterwell

03/09/2019 at 02:31AM

24
#444 - zenwalker / @zenwalker93

03/09/2019 at 01:50PM

24
#445 - Evyk / @Mr_Evyk

03/09/2019 at 10:31PM

24
#446 - Jens / @Jens18925425

03/11/2019 at 04:02PM

24
#447 - crazyminecuber / @crazyminecuber

03/16/2019 at 03:57PM

24
#448 - Galvatron / @mattjg908

03/16/2019 at 11:00PM

24
#449 - 黒澤亮二 / @rjkuro

03/24/2019 at 01:49PM

24
#450 - Nieko Maatjes / @niekomaatjes

03/25/2019 at 10:45AM