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

1885 active golfers, 7939 entries

Leaderboard (lowest score wins):
23
#751 - Finlay McAfee / @finsqm

05/25/2020 at 10:02AM

23
#752 - RockerZZY / @rocker_zzy

05/27/2020 at 04:34AM

23
#753 - Satish Maurya / @maurya777

05/30/2020 at 04:36PM

23
#754 - natasha / @CallMeNatchos

06/01/2020 at 12:49AM

23
#755 - Bob / @Bob37174065

06/01/2020 at 01:37PM

23
#756 - smlbrngr / @smlbrngr

06/15/2020 at 04:03PM

23
#757 - Jeff Cui / @jeffacce

06/18/2020 at 07:14AM

23
#758 - もりを / @morio_prog

06/20/2020 at 03:32AM

23
#759 - James Elson / @JamesElson_RL

06/25/2020 at 10:58PM

23
#760 - Ming Dai / @MingDai2

06/29/2020 at 10:15PM

23
#761 - Mitchell Horning / @HorningMitchell

07/01/2020 at 12:48AM

23
#762 - JLObject / @powful_panda

07/01/2020 at 02:42PM

23
#763 - Edgar Domingues / @edgar_domingues

07/02/2020 at 08:15AM

23
#764 - Brennan Barker / @BrennanJBarker

07/04/2020 at 11:38AM

23
#765 - David / @imdavidhwang

07/06/2020 at 11:06PM

23
#766 - rl5day / @rl5day

07/07/2020 at 04:40AM

23
#767 - Lucas Moon / @LucasMo01299826

07/07/2020 at 05:07AM

23
#768 - Loric Brevet / @lobre8

07/10/2020 at 08:28AM

23
#769 - Jason / @jason_eveleth

07/23/2020 at 06:36AM

23
#770 - Mislav Vuletić / @MasterGeeMedo

07/26/2020 at 01:04PM

23
#771 - Du Phan / @fehiepsi

08/08/2020 at 03:26PM

23
#772 - Xaver Fleer / @XaverFleer

08/08/2020 at 04:52PM

23
#773 - Kazuki / @algo__n

08/10/2020 at 04:44AM

23
#774 - Matthias / @Matthia78044730

08/10/2020 at 06:06PM

23
#775 - gfe fag / @FagGfe

08/19/2020 at 02:25PM

23
#776 - Szymon Naskręcki / @snaskrecki

08/20/2020 at 08:03AM

23
#777 - Josh Kermond / @Kermond

08/23/2020 at 05:40AM

23
#778 - Matthew Blode / @BlodeMatthew

08/26/2020 at 07:40AM

23
#779 - 王有铭 / @wangyouming1209

09/03/2020 at 04:28AM

23
#780 - Christian Mösl / @ChristianMoesl

09/07/2020 at 09:35PM