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

1880 active golfers, 7915 entries

Leaderboard (lowest score wins):
23
#751 - natasha / @CallMeNatchos

06/01/2020 at 12:49AM

23
#752 - Bob / @Bob37174065

06/01/2020 at 01:37PM

23
#753 - smlbrngr / @smlbrngr

06/15/2020 at 04:03PM

23
#754 - Jeff Cui / @jeffacce

06/18/2020 at 07:14AM

23
#755 - もりを / @morio_prog

06/20/2020 at 03:32AM

23
#756 - James Elson / @JamesElson_RL

06/25/2020 at 10:58PM

23
#757 - Ming Dai / @MingDai2

06/29/2020 at 10:15PM

23
#758 - Mitchell Horning / @HorningMitchell

07/01/2020 at 12:48AM

23
#759 - JLObject / @powful_panda

07/01/2020 at 02:42PM

23
#760 - Edgar Domingues / @edgar_domingues

07/02/2020 at 08:15AM

23
#761 - Brennan Barker / @BrennanJBarker

07/04/2020 at 11:38AM

23
#762 - David / @imdavidhwang

07/06/2020 at 11:06PM

23
#763 - rl5day / @rl5day

07/07/2020 at 04:40AM

23
#764 - Lucas Moon / @LucasMo01299826

07/07/2020 at 05:07AM

23
#765 - Loric Brevet / @lobre8

07/10/2020 at 08:28AM

23
#766 - Jason / @jason_eveleth

07/23/2020 at 06:36AM

23
#767 - Mislav Vuletić / @MasterGeeMedo

07/26/2020 at 01:04PM

23
#768 - Du Phan / @fehiepsi

08/08/2020 at 03:26PM

23
#769 - Xaver Fleer / @XaverFleer

08/08/2020 at 04:52PM

23
#770 - Kazuki / @algo__n

08/10/2020 at 04:44AM

23
#771 - Matthias / @Matthia78044730

08/10/2020 at 06:06PM

23
#772 - gfe fag / @FagGfe

08/19/2020 at 02:25PM

23
#773 - Szymon Naskręcki / @snaskrecki

08/20/2020 at 08:03AM

23
#774 - Josh Kermond / @Kermond

08/23/2020 at 05:40AM

23
#775 - Matthew Blode / @BlodeMatthew

08/26/2020 at 07:40AM

23
#776 - 王有铭 / @wangyouming1209

09/03/2020 at 04:28AM

23
#777 - Christian Mösl / @ChristianMoesl

09/07/2020 at 09:35PM

23
#778 - 刘宏亮 / @AkeyCoy

09/08/2020 at 04:08AM

23
#779 - Florian Duraffourg / @fduraffourg

09/23/2020 at 08:27AM

23
#780 - mstronam / @mstronam

09/30/2020 at 04:26PM