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
#121 - Sam Doiron / @Conlectus

06/23/2019 at 12:57AM

21
#122 - Aurel / @AurelienFebvre

06/25/2019 at 07:29PM

21
#123 - Matt / @m4tty1c3

06/25/2019 at 11:24PM

21
#124 - Nathan Knox / @the_nathan_knox

06/26/2019 at 02:49PM

21
#125 - Sadot Cortés / @sadotsoy

06/28/2019 at 04:29AM

21
#126 - chris / @chris_linchen

06/28/2019 at 06:55AM

21
#127 - Johnny footlight / @JFootlight

06/28/2019 at 06:16PM

21
#128 - Test Account / @testycc

06/29/2019 at 11:31AM

21
#129 - Dan Yeaw / @danyeaw

06/30/2019 at 02:25AM

21
#130 - Tom Dalziel / @dalziel_tom

06/30/2019 at 10:58PM

21
#131 - Scott Schlesier / @sschlesier

07/01/2019 at 06:27AM

21
#132 - Sergey Ryabko / @sergey_ryabko

07/01/2019 at 04:57PM

21
#133 - Wizard_KumaChan / @Wizard_KumaChan

07/04/2019 at 10:09AM

21
#134 - as-night / @asnight2

07/04/2019 at 06:45PM

21
#135 - ixf / @ixfdv

07/05/2019 at 05:47PM

21
#136 - Chester Yap / @Chest_ErYap

07/07/2019 at 07:11PM

21
#137 - c0llision / @sh3llcode

07/09/2019 at 03:08PM

21
#138 - aurelian ardeleanu / @inquarto

07/10/2019 at 08:06PM

21
#139 - Korgan / @Korgan36725554

07/13/2019 at 04:35PM

21
#140 - Neil Struthers / @struthersneil

07/15/2019 at 12:29PM

21
#141 - Malcolm Sharpe / @blueblimpms

07/16/2019 at 01:58AM

21
#142 - Adam Katz / @AdamKat01277576

07/16/2019 at 06:37AM

21
#143 - taka / @takaoutputblog

07/16/2019 at 02:10PM

21
#144 - ゴエモン(俗稱).born / @_toku_san

07/17/2019 at 07:24AM

21
#145 - James Raubenheimer / @jamzrob

07/18/2019 at 08:28PM

21
#146 - Hxhxhrra / @hxhxhrra

07/20/2019 at 06:36PM

21
#147 - Clint Caudle / @ClintCaudle

07/22/2019 at 03:44AM

21
#148 - Joe Fahnestock🌵 / @Joecupojoe

07/22/2019 at 07:07PM

21
#149 - Rasmus Öhman Bruno / @rasmohman

07/23/2019 at 11:48AM

21
#150 - entitled millennial / @PythonBro

07/25/2019 at 07:52PM