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

1022 active golfers, 4255 entries

Leaderboard (lowest score wins):
21
#181 - Nathan Bendich / @neonb88

09/08/2019 at 02:28PM

21
#182 - Andac Safa / @SanDForcE94

09/10/2019 at 06:22AM

21
#183 - platypusDancing / @platypusDancing

09/12/2019 at 05:36PM

21
#184 - Ollin Boer Bohan / @madebyollin

09/15/2019 at 08:30PM

21
#185 - Oskar Fridell / @rax0m

09/16/2019 at 09:23AM

21
#186 - Andrey / @andreyrmg

09/16/2019 at 02:25PM

21
#187 - Douglas Massolari / @dmassolari

09/16/2019 at 03:40PM

21
#188 - Cassandra / @kascein

09/17/2019 at 04:56AM

21
#189 - Gasol Wu / @gasolwu

09/17/2019 at 05:28PM

21
#190 - Viktor Styrud / @ViktorStyrud

09/18/2019 at 11:16AM

21
#191 - vimgolfer / @vimgolfer7

09/20/2019 at 03:50AM

21
#192 - Brandon Harrison / @llAboutB

09/23/2019 at 11:13PM

21
#193 - IronTiger Park / @IrontigerP

09/24/2019 at 12:39AM

21
#194 - Miko / @_m_ik_o_

09/24/2019 at 04:31PM

21
#195 - Chen-Hung Wu / @utah12005

09/27/2019 at 05:18PM

21
#196 - Jake Nixon / @thejakenixon

09/29/2019 at 06:35AM

21
#197 - Sebastien Baudray / @sbaudray

09/29/2019 at 04:10PM

21
#198 - Victor Nițu / @vnitzu

10/03/2019 at 02:10PM

21
#199 - Iulian Alexandru / @ialexandru04

10/05/2019 at 08:04AM

21
#200 - dahan / @dahan74265266

10/08/2019 at 01:34AM

21
#201 - Stephen Westhead / @CraziCrow

10/08/2019 at 10:42AM

21
#202 - Phu Ngo 🌐 / @PhuNgo_K

10/11/2019 at 01:23PM

21
#203 - Auctionet dev team / @auctionetdev

10/11/2019 at 01:46PM

21
#204 - kkscr / @kkscr1

10/12/2019 at 07:24PM

21
#205 - Matthias Wolf / @matz__e

10/12/2019 at 09:54PM

21
#206 - Lycal / @Lycal3

10/13/2019 at 10:52AM

21
#207 - Mario Olofo / @mario_olofo

10/16/2019 at 04:43AM

21
#208 - Константин / @pillar_vandyke

10/17/2019 at 04:19AM

21
#209 - artgur / @artgur

10/18/2019 at 01:38AM

21
#210 - Jeremy Soller / @jeremy_soller

10/18/2019 at 03:00AM