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

1022 active golfers, 4255 entries

Leaderboard (lowest score wins):
24
#481 - Shyam Padia / @thegeektherapy

06/07/2019 at 10:30PM

24
#482 - Petter Wahlman / @badeip

06/08/2019 at 10:53AM

24
#483 - Clarence Cheong / @IBrightStudioI

06/08/2019 at 02:02PM

24
#484 - たぬぽん / @eJYwMbymauWKF4B

06/10/2019 at 09:54PM

24
#485 - zealotrush / @zealotrush

06/14/2019 at 05:47AM

24
#486 - albalitz / @_albalitz

06/20/2019 at 04:13PM

24
#487 - Sjoerd Thijsse / @SjoerdThijsse

06/25/2019 at 06:02PM

24
#488 - Thomas / @TBonnin

07/01/2019 at 08:27AM

24
#489 - せいほう / @FICSQF

07/03/2019 at 03:27AM

24
#490 - Riley Shea / @RShea001

07/07/2019 at 05:39AM

24
#491 - Lingyu Yi / @LgxLingyu

07/08/2019 at 03:38AM

24
#492 - Sean Sullivan / @_seanyneutron

07/11/2019 at 06:08PM

24
#493 - Mat / @matpbo

07/12/2019 at 02:43AM

24
#494 - asdkljsadladlaldcxmzwqewq / @asdkljsadladla1

07/21/2019 at 07:41AM

24
#495 - Not real / @Notreal70353016

07/23/2019 at 04:17AM

24
#496 - matt.boyer / @mattboy54261877

07/27/2019 at 06:59AM

24
#497 - Brian Li / @BriungRi

08/09/2019 at 05:59PM

24
#498 - Luiz Eduardo Amaral / @_luxedo

08/09/2019 at 06:08PM

24
#499 - Jake Treacher / @jaketreacher

08/14/2019 at 10:13AM

24
#500 - vim_ninja / @NinjaVim

08/19/2019 at 01:31PM

24
#501 - Simon Wilkinson / @simondwilkinson

08/24/2019 at 01:47PM

24
#502 - Daniel Rollins / @DanielJRollins

08/25/2019 at 07:35AM

24
#503 - Christian / @paierlep

08/30/2019 at 08:54PM

24
#504 - じんぺー / @jinpei0908

08/31/2019 at 08:13AM

24
#505 - darcy / @darcysail

09/02/2019 at 06:03AM

24
#506 - lucca augusto / @LuccaAugusto6

09/08/2019 at 12:51PM

24
#507 - Ole / @Ole_Lnkoje

09/15/2019 at 03:22PM

24
#508 - EL KESRI Othmane / @KesriOthmane

09/16/2019 at 01:12PM

24
#509 - Phrasendroschke / @phrasendroschke

09/18/2019 at 01:49PM

24
#510 - Pogues 123 / @123Pogues

09/18/2019 at 05:21PM