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

1311 active golfers, 5497 entries

Leaderboard (lowest score wins):
25
#691 - Scott Rosenquist / @scottrosenquist

10/18/2019 at 02:38AM

25
#692 - 0xNinja / @0x_Ninja

10/23/2019 at 07:29AM

25
#693 - Mmskl / @mrokati

10/30/2019 at 12:29AM

25
#694 - Bruce Adams / @bruceadams1054

11/22/2019 at 02:07AM

25
#695 - Mike Beattie / @mjbnz

11/26/2019 at 07:38AM

25
#696 - Charlie OConor / @charlieoconor

11/27/2019 at 04:21AM

25
#697 - cínicoycansino / @pgv958

11/28/2019 at 12:57PM

25
#698 - fkubota 🦉 / @the_phi_is_cast

12/25/2019 at 02:32AM

25
#699 - Jerry Zhu / @xpost2000games

01/21/2020 at 03:07AM

25
#700 - Xiangzhuo Meng / @MengXiangzhuo

02/01/2020 at 06:57AM

25
#701 - Sander Vanhove / @SanderVhove

02/05/2020 at 09:09AM

25
#702 - MegaPascal / @PascalMega

02/06/2020 at 08:14AM

25
#703 - Pham Tuan Anh / @anhpt379

02/16/2020 at 10:34AM

25
#704 - kikugawa816 / @kikugawa816

03/04/2020 at 01:17AM

25
#705 - vtls / @vtls16

03/08/2020 at 05:15AM

25
#706 - Alon Sandler / @AlonSandler

03/11/2020 at 01:41PM

25
#707 - Vitor / @vitorldfreitas

03/21/2020 at 09:33PM

26
#708 - Jacob Degeling / @JacobDegeling

02/27/2019 at 09:07AM

26
#709 - Carsano / @DamienFbn

02/28/2019 at 01:05PM

26
#710 - Øystein Walle / @oysteinwalle

02/28/2019 at 01:28PM

26
#711 - Halle Knast / @halleknast

03/11/2019 at 05:10PM

26
#712 - Tim Varley / @varleti

03/11/2019 at 10:45PM

26
#713 - Héctor M. Sosa / @Kerait

03/16/2019 at 09:36AM

26
#714 - psliwka / @psliwka2

03/27/2019 at 06:16PM

26
#715 - Adam Procio / @AdamProcio

03/30/2019 at 05:41PM

26
#716 - Ruslan / @zimdero

04/12/2019 at 07:40AM

26
#717 - Mort Rainey / @arch_midnight

04/14/2019 at 12:33PM

26
#718 - Askhat Sakhabiev / @Sakhabiev_Ashat

04/14/2019 at 11:09PM

26
#719 - fucus / @fishlovebanana

04/15/2019 at 12:19AM

26
#720 - io / @iovis9

04/21/2019 at 07:51PM