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

1511 active golfers, 6369 entries

Leaderboard (lowest score wins):
23
#601 - Braintwister / @Braintwister13

02/02/2020 at 08:49PM

23
#602 - majo senf / @majo_senf

02/06/2020 at 04:04PM

23
#603 - Jonathan Skeate / @jskeate

02/09/2020 at 07:50PM

23
#604 - 骑空士阿为 / @wuwe19

02/12/2020 at 10:18AM

23
#605 - Kyle X. Clark / @KyXr_Clark

02/12/2020 at 06:52PM

23
#606 - みむら / @rnirnu

02/16/2020 at 04:12AM

23
#607 - Jakub / @Jaqbek

02/17/2020 at 11:24AM

23
#608 - Laurent Atlan / @laurentatlan1

03/03/2020 at 08:14PM

23
#609 - Muhammad Affan / @maqur5

03/05/2020 at 02:05PM

23
#610 - Vetle Neumann / @NeumannVetle

03/13/2020 at 02:49PM

23
#611 - asierrayk / @asierrayk

03/14/2020 at 01:15PM

23
#612 - Daniel López / @Dani17H

03/14/2020 at 11:11PM

23
#613 - yar / @yar01921320

03/15/2020 at 02:21PM

23
#614 - Caique Santana / @_caique39

03/20/2020 at 04:06PM

23
#615 - zaid emad / @zaid_emad97

03/25/2020 at 10:40AM

23
#616 - antoine mas / @aneomas

03/25/2020 at 11:08AM

23
#617 - Toby de Havilland / @tobydeh

04/19/2020 at 07:36AM

23
#618 - Shalin Scupham / @shalin_scupham

04/21/2020 at 01:48AM

23
#619 - Zachary Lee / @abstractlyZach

04/22/2020 at 04:08AM

23
#620 - まーしぃ🐢💨 / @marcymaplemug

04/22/2020 at 02:19PM

23
#621 - The Legy / @thelegy

04/23/2020 at 01:24PM

23
#622 - Nishanth Reddy / @Nishanth2066

04/26/2020 at 10:36AM

23
#623 - abdellah hariti / @_hariti

04/26/2020 at 06:40PM

23
#624 - sydman / @sydman11

04/30/2020 at 06:21AM

23
#625 - kashikasitaro / @kashikasitaro

05/02/2020 at 06:36AM

23
#626 - Atzz / @AtzzCokeK

05/02/2020 at 06:37AM

23
#627 - cyndiii-development / @cyndiiidevelop1

05/02/2020 at 06:38AM

23
#628 - Neil Earnshaw / @neilearnshaw

05/08/2020 at 12:15PM

23
#629 - Manikkumar / @ManikkumarK

05/10/2020 at 02:33AM

23
#630 - ThrowawayProbably912 / @TProbably912

05/10/2020 at 05:19PM