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

1307 active golfers, 5485 entries

Leaderboard (lowest score wins):
35
#1111 - vasyharan / @vasyharan

07/02/2019 at 07:05PM

35
#1112 - Slavujko / @Slavujko3

07/03/2019 at 04:53AM

35
#1113 - Gustavo Almeida / @gustaalmeidaws

07/07/2019 at 04:44PM

35
#1114 - Snarf / @desnarf

07/09/2019 at 02:10AM

35
#1115 - Robin Abrahamsson / @rqAbrahamsson

07/22/2019 at 07:27PM

35
#1116 - Pittson / @Pittson95

07/31/2019 at 04:18PM

35
#1117 - Lukas Stratmann / @Lumpiluk

08/07/2019 at 02:21PM

35
#1118 - Le Tu Binh / @LeTuBinh1

08/22/2019 at 06:33AM

35
#1119 - schlecky / @schlecky3

09/10/2019 at 01:52PM

35
#1120 - robikudor / @robikudor

09/19/2019 at 10:51AM

35
#1121 - coelacanth / @coelacanthco

10/21/2019 at 03:42PM

35
#1122 - Trevor Fehrman / @TrevorFehrman

10/25/2019 at 06:05PM

35
#1123 - Timo Böhm / @TimoBohm

11/25/2019 at 07:46AM

35
#1124 - Alexandre Jacquin / @kinnou02

12/02/2019 at 10:39AM

35
#1125 - afk / @Allan_FK

12/05/2019 at 01:26PM

35
#1126 - Scott Smith / @Scottaino

12/23/2019 at 02:43AM

35
#1127 - Alex Bartol / @alexbartol

01/09/2020 at 07:31PM

35
#1128 - Emil / @emilklindt

02/05/2020 at 12:35PM

36
#1129 - Kevin Tindall / @kevinkjt2000

03/08/2019 at 01:20AM

36
#1130 - Christopher Fujino / @chrisfujino

03/08/2019 at 02:58AM

36
#1131 - Juan Manuel Fresia / @fresiajm

03/17/2019 at 03:44AM

36
#1132 - Herman Stavelin / @HsBruker

04/22/2019 at 07:55PM

36
#1133 - Dan Loewenherz / @dwlz

04/26/2019 at 04:06PM

36
#1134 - koern82 / @koern82

06/04/2019 at 08:36AM

36
#1135 - Furopure / @furopure

06/19/2019 at 03:50AM

36
#1136 - Thiago Preischadt / @TPreischadt

07/10/2019 at 02:04AM

36
#1137 - Bob Ren / @bobrenjc93

07/22/2019 at 10:14PM

36
#1138 - Mike Hourahine / @mhourahine

07/31/2019 at 04:21AM

36
#1139 - RevoGen / @gen_revo

08/24/2019 at 05:20AM

36
#1140 - Mark / @markfilus

09/12/2019 at 02:33AM