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

676 active golfers, 2798 entries

Leaderboard (lowest score wins):
32
#511 - Jonathan C. Dietrich / @jcdietrich

03/13/2019 at 02:49PM

32
#512 - etherflow / @etherfl0w

04/01/2019 at 03:15PM

32
#513 - HMSBoaty / @HMS_Boaty

04/09/2019 at 10:09PM

32
#514 - てんなし / @tnnsh1

04/22/2019 at 07:35AM

32
#515 - Manuel Filz / @f1l2

04/23/2019 at 04:18PM

32
#516 - Michaël Lévesque-Dion / @mlevesquedion

04/25/2019 at 12:39AM

32
#517 - kenzie / @kenziefcc

05/10/2019 at 06:04PM

32
#518 - TheJoblessGuyTalks / @the_jgt

05/27/2019 at 01:12PM

32
#519 - version 34.053a / @Age_of_machines

05/27/2019 at 01:44PM

32
#520 - Incognita / @flutterlice

05/29/2019 at 10:54AM

32
#521 - kelaktaa / @kelaktaa

06/05/2019 at 04:42PM

32
#522 - SnakyPoutz / @snakypoutz

06/06/2019 at 08:24AM

32
#523 - Erik Mattfolk / @ErikMattfolk

06/06/2019 at 10:53AM

32
#524 - Noel Evans / @noelevans

06/06/2019 at 09:02PM

32
#525 - Joe Cabezas / @JoeCabezas

06/20/2019 at 06:47PM

33
#526 - Arend Lagendijk / @arendlagendijk

03/03/2019 at 04:49PM

33
#527 - PJ Frazer / @pj_frazer

03/04/2019 at 12:03AM

33
#528 - Raul / @Raul50174499

03/22/2019 at 10:37AM

33
#529 - Radoslaw Ow / @radoslaw_ow

03/28/2019 at 02:45PM

33
#530 - lobo / @lobo16303575

04/14/2019 at 11:13AM

33
#531 - Iver Håkonsen / @HakonsenIver

04/23/2019 at 08:11PM

33
#532 - Mike L / @Mikromol

05/27/2019 at 01:55PM

33
#533 - Just...That / @I_am_JustThat

06/04/2019 at 12:27PM

33
#534 - Raphael / @Console64

06/05/2019 at 12:07PM

33
#535 - Skervim / @skervim

06/06/2019 at 11:27AM

33
#536 - Frank / @fvbever

06/07/2019 at 07:54AM

33
#537 - Arnold Kell / @KellArnold

06/12/2019 at 10:53AM

33
#538 - TobTobXX / @TobTobXX1

06/21/2019 at 05:37AM

33
#539 - Josh Braun / @bbraunj

06/29/2019 at 02:49PM

34
#540 - Maarten Staa / @SeriousSpoon

02/27/2019 at 01:20PM