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

1025 active golfers, 4268 entries

Leaderboard (lowest score wins):
24
#511 - yhiraki / @coffexpr

09/25/2019 at 10:16AM

24
#512 - lofoneax / @lofoneax

09/25/2019 at 08:59PM

24
#513 - Trapier Marshall / @aoeuser

09/26/2019 at 01:59AM

24
#514 - Josefina Alconada / @jochiAlconada

10/03/2019 at 10:02AM

24
#515 - Devistator / @Devistator5

10/08/2019 at 07:25AM

24
#516 - Walker Boh / @walker_boh

10/24/2019 at 03:26PM

24
#517 - Scott Taylor / @scott11X8

10/25/2019 at 12:23AM

24
#518 - vimgolfer / @vimgolfer9

11/03/2019 at 12:50PM

24
#519 - Ebi / @ehan6

11/08/2019 at 09:16PM

24
#520 - aaa / @aaa09223304

11/21/2019 at 06:21AM

25
#521 - mnx / @mnxx

02/27/2019 at 04:02PM

25
#522 - Cameron Fowler / @camfowler

03/19/2019 at 02:45AM

25
#523 - micchie ʕ•ᴥ•ʔ / @micchiebear

03/26/2019 at 11:39AM

25
#524 - Hu Yingcong / @HYingcong

04/02/2019 at 01:26AM

25
#525 - Timothé Tizio-Menut / @TimTizio

04/11/2019 at 02:03PM

25
#526 - Devi McDevFace / @IanMcD6

04/15/2019 at 07:56PM

25
#527 - Cj-bc_sd.sh🐟@mltermコンパイルチャレンジ / @Cj_bc_sd

04/19/2019 at 03:02PM

25
#528 - Καράτε Μόνο / @karate_mono

05/10/2019 at 08:33AM

25
#529 - JonasS / @jonas42s

05/30/2019 at 09:27AM

25
#530 - Hector Davensburg / @hdavensburg

06/02/2019 at 08:44PM

25
#531 - Williams Estrada / @WILLRZ96

06/02/2019 at 11:16PM

25
#532 - Laurent Atlan / @laurentatlan1

06/24/2019 at 04:30PM

25
#533 - Reuben Reyes / @rreubenreyes

07/01/2019 at 05:09AM

25
#534 - Trevor Langston / @sunkenroad

07/03/2019 at 01:23AM

25
#535 - Crystal L / @Cartsly

07/13/2019 at 08:38PM

25
#536 - band / @band26376522

07/24/2019 at 09:15PM

25
#537 - Mr_Djez / @DjezMr

08/05/2019 at 05:58PM

25
#538 - Lyn Fernandez / @tallkien

08/27/2019 at 04:50PM

25
#539 - Bill Ruddock / @biinari

08/31/2019 at 10:14PM

25
#540 - Gammelin Guillaume / @ggammelin

09/17/2019 at 07:24AM