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

1882 active golfers, 7918 entries

Leaderboard (lowest score wins):
24
#931 - Fabian Ahbeck / @FAhbeck

05/08/2020 at 07:52PM

24
#932 - Dionysus / @user101user

05/08/2020 at 11:29PM

24
#933 - Андриянов Роман / @angeldeath29

05/10/2020 at 03:45PM

24
#934 - Salman AlSaigal / @Salman_AlSaigal

05/20/2020 at 12:30AM

24
#935 - Wayne / @lilwayne15561

05/22/2020 at 03:02AM

24
#936 - Eric Banisadr / @ebanisadr

05/29/2020 at 04:14AM

24
#937 - loupiot.veloce / @LoupiotVeloce

06/10/2020 at 01:25PM

24
#938 - nihilistCookie / @NihilistCookie

06/13/2020 at 09:04PM

24
#939 - nico / @res_tantum

06/17/2020 at 05:12PM

24
#940 - Ben Mayoras / @Mayorasaurus

06/19/2020 at 02:39AM

24
#941 - serici / @serici

07/01/2020 at 09:07PM

24
#942 - SardarJitensha / @SJitensha

07/07/2020 at 11:09AM

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

07/12/2020 at 02:51PM

24
#944 - Daniel Habib / @danielhvs

07/20/2020 at 04:25AM

24
#945 - Sergey Averkiev / @ExAnimoso

07/23/2020 at 02:22PM

24
#946 - Chris Thompson / @ctmusicnz

07/27/2020 at 07:35AM

24
#947 - GenericHardwareGamer / @GnrikHrdwrGamer

08/04/2020 at 09:35AM

24
#948 - Martin Kauppinen / @MartinKauppinen

08/15/2020 at 09:12AM

24
#949 - Leonard Wagner / @leonard2997

08/17/2020 at 10:18AM

24
#950 - s3cy / @s3cyxx

08/23/2020 at 11:54AM

24
#951 - Marcio M Pereira / @iviarcio

08/23/2020 at 09:05PM

24
#952 - yhgolf / @yhgolf1

09/05/2020 at 12:29PM

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

09/05/2020 at 06:55PM

24
#954 - Sébastien Roccaserra / @sroccaserra

09/24/2020 at 07:40PM

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

09/24/2020 at 08:58PM

24
#956 - Fransis / @fransisnk

09/25/2020 at 06:42PM

24
#957 - SteamHooks / @SteamHooks

09/28/2020 at 09:54PM

24
#958 - BryanYan / @BryanGoesPlaces

09/29/2020 at 03:31PM

24
#959 - teu cu / @j4derr

10/02/2020 at 06:04PM

24
#960 - Gleb Zaharov / @maerfix

10/11/2020 at 06:48PM