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

1861 active golfers, 7818 entries

Leaderboard (lowest score wins):
30
#1351 - Joseph A Shalabi / @JosephShalabi

04/03/2019 at 04:28PM

30
#1352 - Slava Kim / @imslavko

04/11/2019 at 09:52PM

30
#1353 - EarthToAbigail / @EarthAbigail

04/14/2019 at 03:57PM

30
#1354 - tapio / @gncnaxb

04/18/2019 at 12:01PM

30
#1355 - Sam Miller / @sam_miller93

04/24/2019 at 01:50PM

30
#1356 - Mekhi Thomas / @ReelGreenRanger

04/24/2019 at 02:23PM

30
#1357 - Andy / @_andys8

04/27/2019 at 03:50PM

30
#1358 - りょー / @ryoo141

05/08/2019 at 01:15PM

30
#1359 - bsjd / @bsjd

05/15/2019 at 08:46PM

30
#1360 - Daniel Moi / @DM1199

05/31/2019 at 01:48AM

30
#1361 - Juraj Skvarla / @JurajSkvarla

06/10/2019 at 11:41AM

30
#1362 - Hog of the Forsaken / @leonrobbins

06/27/2019 at 05:52PM

30
#1363 - Adam Pollack / @apollack11

07/12/2019 at 10:54PM

30
#1364 - flummox / @flummox16

08/02/2019 at 08:32PM

30
#1365 - Alberto Pose / @thepose

08/17/2019 at 04:15PM

30
#1366 - Alexander Dikelsky / @ADikelsky

08/19/2019 at 07:23PM

30
#1367 - Raymar Monte / @RaymarMonte

08/25/2019 at 02:19PM

30
#1368 - Urbanovics Péter / @UrbanovicsP

08/29/2019 at 08:37AM

30
#1369 - Jose Soto / @JoseCanHelp

09/09/2019 at 01:40AM

30
#1370 - 小山内まい / @osanamity

10/07/2019 at 04:27PM

30
#1371 - deflate 💨 / @boohoobs

11/22/2019 at 02:23AM

30
#1372 - Andrei Popescu / @AndreiTheory

12/09/2019 at 11:52AM

30
#1373 - DiddyWolf / @DiddyWolf

12/25/2019 at 10:42PM

30
#1374 - F. Nord / @rettetdieborg

12/29/2019 at 05:23PM

30
#1375 - Matthew Karcher / @mattrfk

01/06/2020 at 05:47AM

30
#1376 - Horacio Crotte / @horaciocl

01/19/2020 at 03:53AM

30
#1377 - Andre / @5starsmug

01/24/2020 at 12:07PM

30
#1378 - InvisibleUnit / @UnitInvisible

02/10/2020 at 04:13PM

30
#1379 - Shivam Sharma / @getshivam

03/23/2020 at 07:43PM

30
#1380 - Кунин Александр / @skyksandr

04/16/2020 at 05:07PM