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

1879 active golfers, 7911 entries

Leaderboard (lowest score wins):
29
#1291 - coffee-addict / @ccoffee_addictt

03/21/2019 at 09:38PM

29
#1292 - StrangeNumbers / @NumbersStrange

03/28/2019 at 11:29AM

29
#1293 - z3NIYXabiuI5rE62tjWYAcytyqJ8hIB7i0TA4LF0ELwTvVUmaq / @Z3I5r

04/06/2019 at 03:59AM

29
#1294 - koziejka_com / @koziejka_com

04/11/2019 at 10:30AM

29
#1295 - berp / @blerpaderp

04/19/2019 at 07:51PM

29
#1296 - rvnjsphdmn / @rvnjsphdmn

04/30/2019 at 03:41AM

29
#1297 - Fiffy / @sr21486642

05/06/2019 at 02:22PM

29
#1298 - chihiro / @chihiro0940

05/09/2019 at 01:27PM

29
#1299 - Sam Gentle / @Zanzibar_1sland

05/22/2019 at 04:10AM

29
#1300 - Gar Morley / @garmorley

05/24/2019 at 03:57PM

29
#1301 - Murmus / @MurmusCTF

06/03/2019 at 02:31PM

29
#1302 - deHman89 / @danho89

06/04/2019 at 01:56PM

29
#1303 - Philip / @vCoRezZ

06/06/2019 at 11:19AM

29
#1304 - Zevurari / @zevurari

06/06/2019 at 08:41PM

29
#1305 - Sai Praneeth Reddy / @rm_rfasterisk

06/25/2019 at 05:21AM

29
#1306 - cinder 🔥 / @cyndrdev

06/27/2019 at 04:33PM

29
#1307 - Floyd Gantt / @fgantt

06/27/2019 at 06:13PM

29
#1308 - kasper / @kasper72454971

06/30/2019 at 05:45PM

29
#1309 - Giulio Bottari / @giuliobottari

07/05/2019 at 03:23AM

29
#1310 - Diego Balseiro / @diegobalseiro

07/10/2019 at 02:55AM

29
#1311 - mirsemen / @mirsemen1

07/14/2019 at 03:51PM

29
#1312 - sztolabs / @sztolabs

07/17/2019 at 07:26AM

29
#1313 - Drew Gottlieb / @Drew_Gottlieb

07/20/2019 at 05:00AM

29
#1314 - Moritz Manner / @moritz_manner

08/13/2019 at 09:09PM

29
#1315 - Jack Mooney / @jmooney7

08/22/2019 at 08:03AM

29
#1316 - Marcin Krajewski / @mkrajewski_

08/29/2019 at 09:08AM

29
#1317 - Sebin Babu / @sarcasticbabu

09/24/2019 at 01:09PM

29
#1318 - Niels Pedersen / @NielsLearnsPy

10/02/2019 at 01:38PM

29
#1319 - tuctdape / @tuctdape1

10/10/2019 at 08:20PM

29
#1320 - Udalny / @Udalny1

10/15/2019 at 08:51AM