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

1836 active golfers, 7682 entries

Leaderboard (lowest score wins):
23
#661 - David Ding / @gnidding

08/28/2019 at 02:47AM

23
#662 - sundeep routhu / @sundeep12005

08/29/2019 at 02:46PM

23
#663 - Madelyn Freed / @EcoBummer

09/03/2019 at 09:46PM

23
#664 - Baine Wedlock / @BaineWedlock

09/05/2019 at 02:18PM

23
#665 - averageRandomPerson / @averageRandomP1

09/08/2019 at 10:30PM

23
#666 - Daniel Beck / @daniel_beck_il

09/10/2019 at 12:34PM

23
#667 - Alan Martins Silva / @alanfortlink

09/12/2019 at 05:36PM

23
#668 - Josh Cummings / @jcummingsdesign

09/14/2019 at 12:23AM

23
#669 - Yannick Gladow / @y_gldw

09/16/2019 at 06:35PM

23
#670 - aᵣᵤhᵢ / @aruhi_

09/20/2019 at 02:40PM

23
#671 - Johnson Lu / @wanderlusteee

10/06/2019 at 12:25PM

23
#672 - Sam O'Malley / @Samuel_OMalley

10/11/2019 at 02:18PM

23
#673 - Erik Engstrom / @eengstrom

10/12/2019 at 05:01AM

23
#674 - ErQ325 / @EQ325

10/13/2019 at 07:44AM

23
#675 - leo / @leo28356948

10/17/2019 at 03:14AM

23
#676 - Renan Cidale / @rnescalz

10/20/2019 at 01:37PM

23
#677 - GⷢOⷪTⷮHꙹ / @goth_wrist_cut

10/21/2019 at 09:43AM

23
#678 - yousef Ibrahim / @YucefIbrahim

10/23/2019 at 10:53PM

23
#679 - Gregory Furter / @gfurter

10/26/2019 at 07:36AM

23
#680 - skamgolf / @skamgolf

10/29/2019 at 01:13AM

23
#681 - GrimmT / @GrimmT10

11/01/2019 at 11:16AM

23
#682 - shoji541 / @shoji541

11/03/2019 at 03:22PM

23
#683 - Chris Covert / @covertcj

11/07/2019 at 02:39PM

23
#684 - xiote / @xiote2

11/13/2019 at 05:46AM

23
#685 - mogitate / @mutemeat

11/13/2019 at 03:25PM

23
#686 - pysnow530 / @pysnow530

11/18/2019 at 05:09AM

23
#687 - bassnecter / @lothedr

11/24/2019 at 08:37AM

23
#688 - Nil / @nilnoone

12/02/2019 at 03:17PM

23
#689 - tomo@D2S / @e_2_718281828

12/06/2019 at 08:48AM

23
#690 - HypoTech / @Obongoetco

12/07/2019 at 11:01PM