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

1021 active golfers, 4246 entries

Leaderboard (lowest score wins):
32
#781 - Michaël Lévesque-Dion / @mlevesquedion

04/25/2019 at 12:39AM

32
#782 - kenzie / @kenziefcc

05/10/2019 at 06:04PM

32
#783 - TheJoblessGuyTalks / @the_jgt

05/27/2019 at 01:12PM

32
#784 - version 34.053a / @Age_of_machines

05/27/2019 at 01:44PM

32
#785 - kelaktaa / @kelaktaa

06/05/2019 at 04:42PM

32
#786 - SnakyPoutz / @snakypoutz

06/06/2019 at 08:24AM

32
#787 - Erik Mattfolk / @ErikMattfolk

06/06/2019 at 10:53AM

32
#788 - Noel Evans / @noelevans

06/06/2019 at 09:02PM

32
#789 - Joe Cabezas / @JoeCabezas

06/20/2019 at 06:47PM

32
#790 - David Needham / @davidmneedham

07/20/2019 at 01:53AM

32
#791 - David / @davidrapsey

08/18/2019 at 07:56AM

32
#792 - abgold / @abgold43461328

09/03/2019 at 01:03AM

32
#793 - Алексей Кашуба / @Alex_Kashuba

09/03/2019 at 07:53PM

32
#794 - Plato / @otalpster

09/05/2019 at 04:48PM

32
#795 - Nick Argyle / @nickargyle

10/13/2019 at 02:53AM

32
#796 - Roman / @Romezzz_

11/09/2019 at 07:11AM

32
#797 - Camillott Games / @camillottgames

11/15/2019 at 04:31PM

33
#798 - Arend Lagendijk / @arendlagendijk

03/03/2019 at 04:49PM

33
#799 - PJ Frazer / @pj_frazer

03/04/2019 at 12:03AM

33
#800 - Raul / @Raul50174499

03/22/2019 at 10:37AM

33
#801 - Radoslaw Ow / @radoslaw_ow

03/28/2019 at 02:45PM

33
#802 - lobo / @lobo16303575

04/14/2019 at 11:13AM

33
#803 - Iver Håkonsen / @HakonsenIver

04/23/2019 at 08:11PM

33
#804 - Mike L / @Mikromol

05/27/2019 at 01:55PM

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

06/04/2019 at 12:27PM

33
#806 - Raphael / @Console64

06/05/2019 at 12:07PM

33
#807 - Skervim / @skervim

06/06/2019 at 11:27AM

33
#808 - Frank / @fvbever

06/07/2019 at 07:54AM

33
#809 - Arnold Kell / @KellArnold

06/12/2019 at 10:53AM

33
#810 - TobTobXX / @TobTobXX1

06/21/2019 at 05:37AM