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

1881 active golfers, 7916 entries

Leaderboard (lowest score wins):
21
#91 - johnLate / @johnLate

05/16/2019 at 05:32AM

21
#92 - maximilian / @maximil61408276

05/17/2019 at 10:39PM

21
#93 - synic@ $ :(){ :|:& };: / @synic_m

05/18/2019 at 01:26PM

21
#94 - 谢志文 / @BZCtUASDnHVVof5

05/20/2019 at 12:07PM

21
#95 - James Lowenthal / @JamesAnthonyLow

05/20/2019 at 11:36PM

21
#96 - Seunghun Lee / @earlbread

05/23/2019 at 04:14PM

21
#97 - Francesco Versaci / @francescoversa

05/24/2019 at 03:32PM

21
#98 - Gustavo S. Buschle / @gbuschle

05/27/2019 at 03:14PM

21
#99 - shaz / @shaz30307204

05/27/2019 at 03:25PM

21
#100 - Liu Hao / @Tps100

05/29/2019 at 10:28AM

21
#101 - Hans / @webmixers

05/30/2019 at 04:13AM

21
#102 - laerling / @laerling1

05/31/2019 at 01:37PM

21
#103 - AndrzejWasowski@scholar.social 🌻 🕊️ / @AndrzejWasowski

06/01/2019 at 08:37PM

21
#104 - Kevin Orr / @Orrkorrk

06/03/2019 at 03:20PM

21
#105 - James Whitlock / @Keitarusm

06/05/2019 at 02:09PM

21
#106 - Tim Dean / @Tmdean

06/06/2019 at 03:41PM

21
#107 - Jerry Wu / @AzureSpectra

06/06/2019 at 05:39PM

21
#108 - BunFluffman / @BFluffman

06/06/2019 at 08:12PM

21
#109 - Sæther / @baltre1

06/06/2019 at 10:17PM

21
#110 - Eirik Furuseth / @heplaphon

06/07/2019 at 02:40PM

21
#111 - overlookedhashmap / @overlookedhash1

06/07/2019 at 09:43PM

21
#112 - James Houghton / @jamesthoughton

06/08/2019 at 09:10PM

21
#113 - Koba / @lkoba

06/09/2019 at 06:13PM

21
#114 - Magnus Bjuvensjö / @mbjuvensjo

06/10/2019 at 08:28AM

21
#115 - Tom ten Thij / @eco_coder

06/12/2019 at 12:17PM

21
#116 - Gabriel Barta / @gbarta

06/17/2019 at 06:51AM

21
#117 - hiro_3_1 / @hiroshi160301

06/19/2019 at 06:34PM

21
#118 - Jan Wedekind / @wedesoft

06/21/2019 at 07:23PM

21
#119 - hielke / @hielke24840788

06/22/2019 at 04:58PM

21
#120 - hodenkobold66 / @hodenkobold66

06/22/2019 at 09:19PM