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):
21
#151 - entitled millennial / @PythonBro

07/25/2019 at 07:52PM

21
#152 - kokiteru / @hommakoki

07/29/2019 at 04:22AM

21
#153 - Himavanth Reddy / @Himavanth1909

07/29/2019 at 09:26AM

21
#154 - Hayden Wang / @HaydenWang2

07/30/2019 at 07:43AM

21
#155 - Ron Holt / @ron_holt

07/31/2019 at 03:06AM

21
#156 - Joel Elkins / @dice_tea

08/01/2019 at 09:10PM

21
#157 - XiaoXiaoLui / @XiaoXiaoLui1

08/03/2019 at 06:40PM

21
#158 - Andreas Hübner / @hyperbolicus140

08/04/2019 at 07:06PM

21
#159 - 张忠荣 / @ZZRcooperation

08/06/2019 at 11:13AM

21
#160 - DrHobo / @_DrHobo_

08/07/2019 at 01:45AM

21
#161 - sooqua / @sooqua

08/07/2019 at 01:04PM

21
#162 - NieDżejkob / @NieDzejkob

08/08/2019 at 11:12PM

21
#163 - Thomas Tøkje / @tokjenator

08/09/2019 at 03:41PM

21
#164 - ameebo / @meebwish546

08/09/2019 at 08:07PM

21
#165 - Martin Delille / @martinodelilo

08/12/2019 at 10:24AM

21
#166 - Adam Hartz / @awareofnow

08/17/2019 at 11:36PM

21
#167 - theBecwar / @thebecwar

08/19/2019 at 11:59AM

21
#168 - Sébastien Boyron / @SBoyron

08/19/2019 at 02:44PM

21
#169 - Bryan Enders / @B_Endersstocker

08/20/2019 at 11:18AM

21
#170 - Maxime Turquetil / @maturquetil

08/20/2019 at 07:04PM

21
#171 - Marco Mannucci / @markomannux

08/21/2019 at 01:42PM

21
#172 - omahn / @omahn

08/23/2019 at 10:06PM

21
#173 - JS / @jjohsan

08/27/2019 at 07:02AM

21
#174 - dpetrovic_vimgolf / @DpetrovicV

08/28/2019 at 11:49AM

21
#175 - Rich Cheng / @sedm0784

08/29/2019 at 10:03AM

21
#176 - Andrew Blokzyl / @linuxKd

08/29/2019 at 05:44PM

21
#177 - Menaal Cochran / @CochranMenaal

09/01/2019 at 12:28AM

21
#178 - Rohan Verma / @rhnvrm

09/05/2019 at 09:24PM

21
#179 - Christopher Weyand / @swordman378

09/06/2019 at 03:43PM

21
#180 - Zach Ingbretsen / @ZIngbretsen

09/06/2019 at 04:49PM