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

1307 active golfers, 5485 entries

Leaderboard (lowest score wins):
33
#1051 - Raphael / @Console64

06/05/2019 at 12:07PM

33
#1052 - Skervim / @skervim

06/06/2019 at 11:27AM

33
#1053 - Frank / @fvbever

06/07/2019 at 07:54AM

33
#1054 - Arnold Kell / @KellArnold

06/12/2019 at 10:53AM

33
#1055 - TobTobXX / @TobTobXX1

06/21/2019 at 05:37AM

33
#1056 - Josh Braun / @bbraunj

06/29/2019 at 02:49PM

33
#1057 - Luke Pearce / @kulehndluke

07/19/2019 at 08:41PM

33
#1058 - Fred Leclerc / @fredleclerc

07/24/2019 at 04:16PM

33
#1059 - Peter Meehan / @22A

07/27/2019 at 04:57PM

33
#1060 - Timm D. / @timmbo190

08/01/2019 at 03:32PM

33
#1061 - sed / @811272067649

08/18/2019 at 08:02PM

33
#1062 - chriscian / @christianfarani

08/31/2019 at 03:32AM

33
#1063 - Iggy / @iggredible

09/06/2019 at 01:56AM

33
#1064 - Ariel Miculas / @ArielMiculas

09/18/2019 at 11:58AM

33
#1065 - Harold / @haroldmrt

09/23/2019 at 10:06AM

33
#1066 - jeremy / @jeremy67339762

09/26/2019 at 04:25PM

33
#1067 - Jeremy Griffin / @jerrymcgriffo

10/10/2019 at 05:32AM

33
#1068 - sc / @sc34507146

11/05/2019 at 03:37PM

33
#1069 - Magnus / @praktiskt

11/17/2019 at 03:55PM

33
#1070 - Three Chewz / @lincolnfraley93

11/27/2019 at 01:43AM

33
#1071 - Thomas Churchman / @Beskhue

12/14/2019 at 12:15PM

33
#1072 - tspilk / @tspilk

01/03/2020 at 07:58PM

33
#1073 - ipv4 has run out / @jchook

03/04/2020 at 04:58AM

33
#1074 - Zander / @zanderk

03/08/2020 at 02:01PM

34
#1075 - Maarten Staa / @SeriousSpoon

02/27/2019 at 01:20PM

34
#1076 - Gabriel / @cimourdain

03/18/2019 at 05:34PM

34
#1077 - Danny / @dannywood1976

03/19/2019 at 06:05PM

34
#1078 - 김형창 / @uVmEMZsCgcYvqZi

03/29/2019 at 01:56AM

34
#1079 - Jan B. / @bracki

04/08/2019 at 12:43PM

34
#1080 - FP / @FPjde

04/11/2019 at 09:30PM