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

1023 active golfers, 4263 entries

Leaderboard (lowest score wins):
33
#811 - Arnold Kell / @KellArnold

06/12/2019 at 10:53AM

33
#812 - TobTobXX / @TobTobXX1

06/21/2019 at 05:37AM

33
#813 - Josh Braun / @bbraunj

06/29/2019 at 02:49PM

33
#814 - Luke Pearce / @kulehndluke

07/19/2019 at 08:41PM

33
#815 - Fred Leclerc / @fredleclerc

07/24/2019 at 04:16PM

33
#816 - Peter Meehan / @22A

07/27/2019 at 04:57PM

33
#817 - Timm D. / @timmbo190

08/01/2019 at 03:32PM

33
#818 - sed / @811272067649

08/18/2019 at 08:02PM

33
#819 - chriscian / @christianfarani

08/31/2019 at 03:32AM

33
#820 - Iggy / @iggredible

09/06/2019 at 01:56AM

33
#821 - Ariel Miculas / @ArielMiculas

09/18/2019 at 11:58AM

33
#822 - Harold / @haroldmrt

09/23/2019 at 10:06AM

33
#823 - jeremy / @jeremy67339762

09/26/2019 at 04:25PM

33
#824 - Jeremy Griffin / @jerrymcgriffo

10/10/2019 at 05:32AM

33
#825 - sc / @sc34507146

11/05/2019 at 03:37PM

33
#826 - Magnus / @praktiskt

11/17/2019 at 03:55PM

34
#827 - Maarten Staa / @SeriousSpoon

02/27/2019 at 01:20PM

34
#828 - Gabriel / @cimourdain

03/18/2019 at 05:34PM

34
#829 - Danny / @dannywood1976

03/19/2019 at 06:05PM

34
#830 - 김형창 / @uVmEMZsCgcYvqZi

03/29/2019 at 01:56AM

34
#831 - Jan B. / @bracki

04/08/2019 at 12:43PM

34
#832 - FP / @FPjde

04/11/2019 at 09:30PM

34
#833 - shredded / @shredded

04/13/2019 at 10:43AM

34
#834 - Ramesh Fit / @faltuFeet

04/16/2019 at 11:58PM

34
#835 - 沸腾钢 / @tobecloud

04/19/2019 at 08:04AM

34
#836 - chriskuck / @chriskuck

04/19/2019 at 07:00PM

34
#837 - lilicoco / @lilicoco20

04/26/2019 at 11:06PM

34
#838 - Frede Emil / @Frede_Eb

05/05/2019 at 01:06PM

34
#839 - JvdB01 / @JvdB001

05/07/2019 at 03:53PM

34
#840 - Enrico Campidoglio / @ecampidoglio

05/13/2019 at 02:58PM