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

1232 active golfers, 5160 entries

Leaderboard (lowest score wins):
29
#841 - Zevurari / @zevurari

06/06/2019 at 08:41PM

29
#842 - Sai Praneeth Reddy / @rm_rfasterisk

06/25/2019 at 05:21AM

29
#843 - cinder 🔥 / @cyndrdev

06/27/2019 at 04:33PM

29
#844 - Floyd Gantt / @fgantt

06/27/2019 at 06:13PM

29
#845 - kasper / @kasper72454971

06/30/2019 at 05:45PM

29
#846 - Giulio Bottari / @giuliobottari

07/05/2019 at 03:23AM

29
#847 - Diego Balseiro / @diegobalseiro

07/10/2019 at 02:55AM

29
#848 - mirsemen / @mirsemen1

07/14/2019 at 03:51PM

29
#849 - sztolabs / @sztolabs

07/17/2019 at 07:26AM

29
#850 - Drew Gottlieb / @Drew_Gottlieb

07/20/2019 at 05:00AM

29
#851 - Moritz Manner / @moritz_manner

08/13/2019 at 09:09PM

29
#852 - Jack Mooney / @jmooney7

08/22/2019 at 08:03AM

29
#853 - Marcin Krajewski / @mkrajewski_

08/29/2019 at 09:08AM

29
#854 - Sebin Babu / @sarcasticbabu

09/24/2019 at 01:09PM

29
#855 - Niels Pedersen / @NielsLearnsPy

10/02/2019 at 01:38PM

29
#856 - tuctdape / @tuctdape1

10/10/2019 at 08:20PM

29
#857 - Udalny / @Udalny1

10/15/2019 at 08:51AM

29
#858 - Dylan Bulfin / @dbulf3

10/19/2019 at 12:29AM

29
#859 - xjkhst / @xjkhst

10/19/2019 at 12:07PM

29
#860 - Dodge Coates / @coates_dodge

10/20/2019 at 10:38PM

29
#861 - Eleks Aggr / @AggrEleks

10/22/2019 at 12:39PM

29
#862 - alibabadienstaccount / @alibabadiensta1

11/04/2019 at 03:38PM

29
#863 - shota_ogswr / @shota_ogasawara

11/18/2019 at 03:20PM

29
#864 - David Vilar / @davvil_dvt

11/26/2019 at 03:13PM

29
#865 - мои соседи вайнеры / @ionagamed

11/28/2019 at 10:24AM

29
#866 - Marten Ringwelski / @Marteon27

12/10/2019 at 04:31PM

29
#867 - Larry McClenon / @uptotheroof

12/31/2019 at 04:49PM

29
#868 - beew71493 / @beew71493

01/11/2020 at 04:33AM

29
#869 - Taamas / @Teatrero5

01/18/2020 at 11:09AM

29
#870 - く / @noblack_nolife

01/21/2020 at 06:43AM