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

1836 active golfers, 7682 entries

Leaderboard (lowest score wins):
24
#871 - Walker Boh / @walker_boh

10/24/2019 at 03:26PM

24
#872 - Scott Taylor / @scott11X8

10/25/2019 at 12:23AM

24
#873 - vimgolfer / @vimgolfer9

11/03/2019 at 12:50PM

24
#874 - Ebi / @ehan6

11/08/2019 at 09:16PM

24
#875 - aaa / @aaa09223304

11/21/2019 at 06:21AM

24
#876 - zigford / @zigford_org

12/01/2019 at 12:29PM

24
#877 - およねさん / @yuukikun31

12/01/2019 at 02:40PM

24
#878 - 煮沸的白開水 / @season_303030

12/01/2019 at 03:44PM

24
#879 - Jason Crowley / @jcrowle5

12/06/2019 at 09:49PM

24
#880 - Ageless O₂ Absorber / @dr_barnowl

12/16/2019 at 10:36PM

24
#881 - Bennett / @bennettbackward

12/26/2019 at 02:46AM

24
#882 - Кирилл Перехода / @drevnii_alex

12/26/2019 at 12:20PM

24
#883 - Anton Kriese / @AntonKriese

01/02/2020 at 12:05AM

24
#884 - John Kevin Estrella / @kevsestrella

01/07/2020 at 01:58PM

24
#885 - Victor Tortolero / @MightyPenguinV

01/21/2020 at 03:19PM

24
#886 - Brent Westbrook / @westbrook_brent

01/21/2020 at 10:31PM

24
#887 - cardoiltardo / @cardoiltardo

02/04/2020 at 04:17PM

24
#888 - nico S / @der_nico_93

02/05/2020 at 12:45PM

24
#889 - Falafel Palapel / @falafelpalapel

02/11/2020 at 06:34PM

24
#890 - jackjsk / @jackjsk1

02/12/2020 at 05:18AM

24
#891 - Владек / @escept1c

02/15/2020 at 06:54PM

24
#892 - perTheGolfer / @GolferPer

02/18/2020 at 08:46AM

24
#893 - Ticktockrobotsnot99 / @akashrrao

02/19/2020 at 04:23AM

24
#894 - Marius Jurgelenas / @MarenasLT

02/21/2020 at 03:09PM

24
#895 - stevan / @stevan76107116

03/05/2020 at 04:47AM

24
#896 - Marcin Gramza / @temperski

03/05/2020 at 10:19PM

24
#897 - 63RC-LRMn-cXC4-v8NJ / @63rcV

03/14/2020 at 04:50PM

24
#898 - vicver09 / @vicver091

03/19/2020 at 02:19AM

24
#899 - BnnGolfer / @BnnGolfer

03/19/2020 at 11:05PM

24
#900 - bluemartian / @bluemartianz59

03/21/2020 at 05:21PM