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

1006 active golfers, 4192 entries

Leaderboard (lowest score wins):
21
#31 - Parsa Amini / @ParsaAmini

03/19/2019 at 01:34AM

21
#32 - 🅷🅰🆁🆁🆈 / @HarryAAbrahams1

03/19/2019 at 04:11AM

21
#33 - Life_is_a_lie / @RealLifeNotReal

03/21/2019 at 01:23PM

21
#34 - carly stan account / @theryangeary

03/22/2019 at 08:44PM

21
#35 - Unfair / @ItIsUnfair

03/23/2019 at 12:22PM

21
#36 - Tom / @Tom39997681

03/28/2019 at 08:23AM

21
#37 - her / @her35520005

03/29/2019 at 05:47AM

21
#38 - Antoine Gagelin / @AntoineGagelin

03/29/2019 at 02:17PM

21
#39 - David A. Lyon / @dauglyon

03/29/2019 at 10:43PM

21
#40 - Bruce Woodward / @b00ffer

03/30/2019 at 09:02PM

21
#41 - Skywalker 666 / @MemeMasterXXI

03/31/2019 at 05:46AM

21
#42 - Marc Päpper / @mpaepper

04/01/2019 at 01:00PM

21
#43 - David Accomazzo / @WordsofDefiance

04/02/2019 at 11:00PM

21
#44 - Диплодок Денис / @l0sts0u1

04/03/2019 at 09:14AM

21
#45 - GS / @GSijmens

04/04/2019 at 09:30AM

21
#46 - Vlad / @lazzlo2096

04/05/2019 at 08:19AM

21
#47 - Ricardo Lima / @ricponteslima

04/05/2019 at 03:10PM

21
#48 - Brandon Pfeifer / @BrandonPfeifer6

04/05/2019 at 05:07PM

21
#49 - ____ / @davidmuzzy

04/08/2019 at 09:16AM

21
#50 - Joel Eriksson / @OwariDa

04/08/2019 at 09:29AM

21
#51 - Kim Hwa Joong / @hanmwoi

04/08/2019 at 12:51PM

21
#52 - Oscar Broman / @oscarbroman

04/09/2019 at 12:28PM

21
#53 - Alice Benign / @AliceBenign

04/09/2019 at 02:16PM

21
#54 - Matthew Fallshaw / @matthewfallshaw

04/09/2019 at 11:52PM

21
#55 - Ben Weinstein-Raun / @benwr

04/10/2019 at 07:07AM

21
#56 - Dan Miller / @DanMill44396174

04/10/2019 at 07:15PM

21
#57 - Paweł Styczewski / @kryspuss

04/11/2019 at 07:29AM

21
#58 - Jonas / @ex1c

04/11/2019 at 12:14PM

21
#59 - Davy Mao / @icedpinetrees

04/11/2019 at 10:02PM

21
#60 - Jaan Toots / @JaanToots

04/12/2019 at 09:43AM