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

1879 active golfers, 7911 entries

Leaderboard (lowest score wins):
23
#691 - skamgolf / @skamgolf

10/29/2019 at 01:13AM

23
#692 - GrimmT / @GrimmT10

11/01/2019 at 11:16AM

23
#693 - shoji541 / @shoji541

11/03/2019 at 03:22PM

23
#694 - Chris Covert / @covertcj

11/07/2019 at 02:39PM

23
#695 - xiote / @xiote2

11/13/2019 at 05:46AM

23
#696 - mogitate / @mutemeat

11/13/2019 at 03:25PM

23
#697 - pysnow530 / @pysnow530

11/18/2019 at 05:09AM

23
#698 - bassnecter / @lothedr

11/24/2019 at 08:37AM

23
#699 - Nil / @nilnoone

12/02/2019 at 03:17PM

23
#700 - tomo@D2S / @e_2_718281828

12/06/2019 at 08:48AM

23
#701 - HypoTech / @Obongoetco

12/07/2019 at 11:01PM

23
#702 - Shanmukh chaitanya / @Shanmukhchaita1

12/16/2019 at 10:39AM

23
#703 - rirze / @SourabhWasTaken

12/24/2019 at 07:37PM

23
#704 - Moye_ / @moye_

12/25/2019 at 05:07PM

23
#705 - Noah Golub / @NoahGolub2

12/27/2019 at 07:19AM

23
#706 - warwickrulez / @warwickrulez

12/30/2019 at 03:48PM

23
#707 - nicosierra / @nicosierra84

01/06/2020 at 12:45AM

23
#708 - Lars Haalck / @larshulk

01/08/2020 at 09:59AM

23
#709 - Gil Shotan / @gilshotan

01/13/2020 at 06:51AM

23
#710 - Flowepmed S. Sirch / @iluvfugu

01/17/2020 at 07:53AM

23
#711 - DosLin / @hidoslin

01/20/2020 at 06:48AM

23
#712 - Łukasz / @_pixsll

01/21/2020 at 10:34AM

23
#713 - Michael Meixner / @meixner62

01/21/2020 at 01:17PM

23
#714 - Thomas Jung / @ThomasAJung

01/24/2020 at 03:20PM

23
#715 - Lukas Klingberg / @ElKlingberg

01/26/2020 at 05:32PM

23
#716 - Braintwister / @Braintwister13

02/02/2020 at 08:49PM

23
#717 - majo senf / @majo_senf

02/06/2020 at 04:04PM

23
#718 - Jonathan Skeate / @jskeate

02/09/2020 at 07:50PM

23
#719 - 骑空士阿为 / @wuwe19

02/12/2020 at 10:18AM

23
#720 - Kyle X. Clark / @KyXr_Clark

02/12/2020 at 06:52PM