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

1881 active golfers, 7916 entries

Leaderboard (lowest score wins):
21
#1 - Dan / @dstein64

02/26/2019 at 03:17AM

21
#2 - Kristian Haug / @krimhaug

02/27/2019 at 07:35AM

21
#3 - LUTZ Jean / @Croustibot

02/27/2019 at 09:47AM

21
#4 - ๐šƒ๐š’๐š๐š˜๐šž๐šŠ๐š— ๐šƒ๐šŽ๐šข๐šœ๐šœ๐š’๐šŽ๐š› / @TitouanT_

02/28/2019 at 12:53PM

21
#5 - Romain Bitard / @RBitard

02/28/2019 at 01:20PM

21
#6 - Andy / @andm1992

02/28/2019 at 06:58PM

21
#7 - Antonio Bayonas / @BayonasAntonio

02/28/2019 at 08:42PM

21
#8 - Filipe Brandenburger / @filbranden

03/01/2019 at 03:59AM

21
#9 - A / @777Android777

03/01/2019 at 05:33PM

21
#10 - scottarver / @scottarver

03/03/2019 at 03:38AM

21
#11 - JT-Development.com / @JT_Development

03/04/2019 at 08:40AM

21
#12 - Jonathan Eidsness / @jonathaneidsnes

03/04/2019 at 06:55PM

21
#13 - Groovy / @groovy9

03/06/2019 at 08:40PM

21
#14 - wei zhenyi / @wzy006

03/08/2019 at 05:01AM

21
#15 - Chibi / @Chib49

03/08/2019 at 01:18PM

21
#16 - Svet PENKOV / @svet_ai

03/08/2019 at 03:09PM

21
#17 - Francisco Esteve / @San475

03/11/2019 at 05:53AM

21
#18 - Paul Yates / @PYates77

03/11/2019 at 06:48PM

21
#19 - Robert Orr / @orrrobert

03/11/2019 at 10:04PM

21
#20 - serent / @serent

03/12/2019 at 06:25AM

21
#21 - Seiichi Satomi / @Sewitch7045

03/12/2019 at 01:24PM

21
#22 - Nick Spoon / @be_the_spoon

03/12/2019 at 09:22PM

21
#23 - omrisarig / @omrisarig

03/12/2019 at 09:45PM

21
#24 - Marty Boren / @beanmaximalist

03/13/2019 at 05:27AM

21
#25 - k24w24 / @k24w24

03/13/2019 at 04:14PM

21
#26 - enji / @enji_ja

03/15/2019 at 10:14AM

21
#27 - landyak / @landyak1

03/16/2019 at 03:00PM

21
#28 - Gerbier Thomas / @GerbierThomas1

03/18/2019 at 01:38AM

21
#29 - ktbffh / @ktbffh73607665

03/18/2019 at 11:05AM

21
#30 - longB / @longB77353628

03/18/2019 at 12:44PM