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

1511 active golfers, 6369 entries

Leaderboard (lowest score wins):
23
#571 - leo / @leo28356948

10/17/2019 at 03:14AM

23
#572 - Renan Cidale / @rnescalz

10/20/2019 at 01:37PM

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

10/21/2019 at 09:43AM

23
#574 - yousef Ibrahim / @YucefIbrahim

10/23/2019 at 10:53PM

23
#575 - Gregory Furter / @gfurter

10/26/2019 at 07:36AM

23
#576 - skamgolf / @skamgolf

10/29/2019 at 01:13AM

23
#577 - GrimmT / @GrimmT10

11/01/2019 at 11:16AM

23
#578 - shoji541 / @shoji541

11/03/2019 at 03:22PM

23
#579 - Chris Covert / @covertcj

11/07/2019 at 02:39PM

23
#580 - xiote / @xiote2

11/13/2019 at 05:46AM

23
#581 - mogitate / @mutemeat

11/13/2019 at 03:25PM

23
#582 - pysnow530 / @pysnow530

11/18/2019 at 05:09AM

23
#583 - bassnecter / @lothedr

11/24/2019 at 08:37AM

23
#584 - Nil / @nilnoone

12/02/2019 at 03:17PM

23
#585 - tomo@D2S / @e_2_718281828

12/06/2019 at 08:48AM

23
#586 - HypoTech / @Obongoetco

12/07/2019 at 11:01PM

23
#587 - Shanmukh chaitanya / @Shanmukhchaita1

12/16/2019 at 10:39AM

23
#588 - rirze / @SourabhWasTaken

12/24/2019 at 07:37PM

23
#589 - Moye_ / @moye_

12/25/2019 at 05:07PM

23
#590 - Noah Golub / @NoahGolub2

12/27/2019 at 07:19AM

23
#591 - warwickrulez / @warwickrulez

12/30/2019 at 03:48PM

23
#592 - nicosierra / @nicosierra84

01/06/2020 at 12:45AM

23
#593 - Lars Haalck / @larshulk

01/08/2020 at 09:59AM

23
#594 - Gil Shotan / @gilshotan

01/13/2020 at 06:51AM

23
#595 - Flowepmed S. Sirch / @iluvfugu

01/17/2020 at 07:53AM

23
#596 - DosLin / @hidoslin

01/20/2020 at 06:48AM

23
#597 - Łukasz / @_pixsll

01/21/2020 at 10:34AM

23
#598 - Michael Meixner / @meixner62

01/21/2020 at 01:17PM

23
#599 - Thomas Jung / @ThomasAJung

01/24/2020 at 03:20PM

23
#600 - Lukas Klingberg / @ElKlingberg

01/26/2020 at 05:32PM