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

1868 active golfers, 7836 entries

Leaderboard (lowest score wins):
24
#931 - Wayne / @lilwayne15561

05/22/2020 at 03:02AM

24
#932 - Eric Banisadr / @ebanisadr

05/29/2020 at 04:14AM

24
#933 - loupiot.veloce / @LoupiotVeloce

06/10/2020 at 01:25PM

24
#934 - nihilistCookie / @NihilistCookie

06/13/2020 at 09:04PM

24
#935 - nico / @res_tantum

06/17/2020 at 05:12PM

24
#936 - Ben Mayoras / @Mayorasaurus

06/19/2020 at 02:39AM

24
#937 - serici / @serici

07/01/2020 at 09:07PM

24
#938 - SardarJitensha / @SJitensha

07/07/2020 at 11:09AM

24
#939 - Виталий Макаров / @avada_keda_bra

07/12/2020 at 02:51PM

24
#940 - Daniel Habib / @danielhvs

07/20/2020 at 04:25AM

24
#941 - Sergey Averkiev / @ExAnimoso

07/23/2020 at 02:22PM

24
#942 - Chris Thompson / @ctmusicnz

07/27/2020 at 07:35AM

24
#943 - GenericHardwareGamer / @GnrikHrdwrGamer

08/04/2020 at 09:35AM

24
#944 - Martin Kauppinen / @MartinKauppinen

08/15/2020 at 09:12AM

24
#945 - Leonard Wagner / @leonard2997

08/17/2020 at 10:18AM

24
#946 - s3cy / @s3cyxx

08/23/2020 at 11:54AM

24
#947 - Marcio M Pereira / @iviarcio

08/23/2020 at 09:05PM

24
#948 - yhgolf / @yhgolf1

09/05/2020 at 12:29PM

24
#949 - Václav Pernička / @VaclavPernicka

09/05/2020 at 06:55PM

24
#950 - Sébastien Roccaserra / @sroccaserra

09/24/2020 at 07:40PM

24
#951 - Алексей Ковалев / @FrostMephi

09/24/2020 at 08:58PM

24
#952 - Fransis / @fransisnk

09/25/2020 at 06:42PM

24
#953 - SteamHooks / @SteamHooks

09/28/2020 at 09:54PM

24
#954 - BryanYan / @BryanGoesPlaces

09/29/2020 at 03:31PM

24
#955 - teu cu / @j4derr

10/02/2020 at 06:04PM

24
#956 - Gleb Zaharov / @maerfix

10/11/2020 at 06:48PM

24
#957 - Mark / @markbaraban

10/13/2020 at 08:53PM

24
#958 - Peter Demin / @peterdemin

10/13/2020 at 10:31PM

24
#959 - Carlos / @Karu75414928

10/15/2020 at 06:56PM

24
#960 - hhh / @hhh78116797

10/17/2020 at 03:57PM