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

1511 active golfers, 6369 entries

Leaderboard (lowest score wins):
22
#421 - 밤색 / @aeisura

01/16/2020 at 04:58AM

22
#422 - Rune Warhuus / @DinkDonkNorway

01/21/2020 at 05:58PM

22
#423 - Renns / @Renns95250521

02/07/2020 at 11:32PM

22
#424 - Matthew / @Burfield12

02/17/2020 at 10:59PM

22
#425 - Chris League / @chrisleague

02/22/2020 at 09:03PM

22
#426 - Jonathan Stinson / @KnightdeadJohn

02/27/2020 at 01:33PM

22
#427 - Victor Ramirez / @virako

04/01/2020 at 10:19AM

22
#428 - mury liang / @muryliang

04/04/2020 at 06:48AM

22
#429 - Ryan Burmeister-Morrison / @rburmorrison

04/11/2020 at 09:01PM

22
#430 - Victor / @victor_rma

04/24/2020 at 09:52PM

22
#431 - xarmux / @xarmux

04/25/2020 at 10:06AM

22
#432 - Greg Jebb / @jebbster

05/10/2020 at 09:57PM

22
#433 - Bhagwan / @El_Bhagwan

05/11/2020 at 01:56AM

22
#434 - Kai.Li / @KaiLi19

05/25/2020 at 07:54AM

22
#435 - pady. 🇪🇺 🇩🇪 🇷🇴 / @hundertzwoelf_

05/26/2020 at 07:36AM

22
#436 - Jewi / @j3wi

05/27/2020 at 03:20PM

22
#437 - Israr Khan / @isrark

06/01/2020 at 08:13PM

22
#438 - Georg Kaaserer / @climbim

06/07/2020 at 10:18AM

22
#439 - soundscope / @__soundscope__

06/30/2020 at 08:03AM

23
#440 - John Braxler / @braxler

02/25/2019 at 09:41PM

23
#441 - Smylers / @Smylers2

02/25/2019 at 11:20PM

23
#442 - Jon Krause / @jkrause314

02/26/2019 at 02:54AM

23
#443 - Benoit Benoit / @Benoit_Tgt

02/26/2019 at 08:20AM

23
#444 - Saki Gw / @Sakigw

02/26/2019 at 10:02AM

23
#445 - Roger Stoltz / @rogsto1

02/26/2019 at 04:52PM

23
#446 - BaffaloP 🐃🎨 / @bbaffalopp

02/26/2019 at 08:20PM

23
#447 - T A / @SirAviles

02/26/2019 at 09:31PM

23
#448 - noisevoid / @noisevoid

02/28/2019 at 02:23AM

23
#449 - Ivo Tripunovic / @ivo_tripunovic

02/28/2019 at 04:14PM

23
#450 - james_bunch / @james_bunch

03/02/2019 at 06:45AM