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

1490 active golfers, 6265 entries

Leaderboard (lowest score wins):
21
#271 - Anthony BERNARD / @TweetTontony

02/15/2020 at 01:32PM

21
#272 - stretchy / @stretch11013132

02/15/2020 at 10:24PM

21
#273 - vimgolf_tmp_1 / @1Vimgolf

02/16/2020 at 03:24PM

21
#274 - howanto / @ho_wan_

02/16/2020 at 03:45PM

21
#275 - KingYames / @JamesZeHunter

02/17/2020 at 02:30AM

21
#276 - Ard / @kokojarjar

02/18/2020 at 11:31AM

21
#277 - Gytis Vinclovas / @GytisVinclovas

02/21/2020 at 03:13PM

21
#278 - Arijus / @argshook

02/21/2020 at 03:13PM

21
#279 - floyd / @floyd10086

02/23/2020 at 03:50PM

21
#280 - Mushan Yang / @mushanyoung

02/26/2020 at 01:51AM

21
#281 - golferN / @golferN3

02/26/2020 at 08:13PM

21
#282 - Hyunjoon / @yi_hyunjoon

02/27/2020 at 08:48AM

21
#283 - Scott Lee / @ureure

02/28/2020 at 03:29AM

21
#284 - vimgolfplayer92 / @vimgolfplayer92

02/29/2020 at 10:44AM

21
#285 - countime / @countime1

03/04/2020 at 05:32AM

21
#286 - Paul Parker / @PaulDesmoParker

03/05/2020 at 03:39AM

21
#287 - Robert Mosher / @rcmosher

03/05/2020 at 10:23PM

21
#288 - エターナル雑魚 / @eternalzako

03/07/2020 at 02:22PM

21
#289 - Wouter Horlings / @Achilleshiel

03/10/2020 at 04:26PM

21
#290 - せいほう / @FICSQF

03/12/2020 at 09:03AM

21
#291 - Sean Dewar / @seandewar

03/12/2020 at 06:11PM

21
#292 - Brian Lause / @TallBrianL

03/13/2020 at 05:07AM

21
#293 - Toby Hawkins / @Toby_Hawkins

03/14/2020 at 01:17PM

21
#294 - 薛浩滎 / @iTPChbTeI4ZW9s3

03/15/2020 at 08:19PM

21
#295 - 杜撰 / @NOrUixDzwW4BbCP

03/17/2020 at 08:25AM

21
#296 - vvaannaa3 / @vvaannaa3

03/17/2020 at 08:28PM

21
#297 - Vim Türkçe / @vimturkce

03/18/2020 at 08:01PM

21
#298 - Vinícius Hoyer / @viniciushoyer

03/19/2020 at 01:47PM

21
#299 - NGageMegaman / @NGageMegaman

03/20/2020 at 01:17AM

21
#300 - ちゅうい / @_chuyii

03/20/2020 at 01:17PM