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

1005 active golfers, 4179 entries

Leaderboard (lowest score wins):
28
#661 - Jesse Widner / @widner_jesse

11/11/2019 at 12:53AM

29
#662 - algebraic-geometric / @algebraicgeome1

02/25/2019 at 08:08PM

29
#663 - Miki Tebeka / @tebeka

02/26/2019 at 04:50AM

29
#664 - Timothy Bryan / @tim_bryan

02/27/2019 at 10:27AM

29
#665 - throwaway / @throwaw77650361

03/05/2019 at 07:22PM

29
#666 - sisi100 / @s1si100

03/06/2019 at 08:30AM

29
#667 - Eric Harm / @eric_harm

03/07/2019 at 06:58PM

29
#668 - ccoffee_addictt / @ccoffee_addictt

03/21/2019 at 09:38PM

29
#669 - StrangeNumbers / @NumbersStrange

03/28/2019 at 11:29AM

29
#670 - z3NIYXabiuI5rE62tjWYAcytyqJ8hIB7i0TA4LF0ELwTvVUmaq / @Z3I5r

04/06/2019 at 03:59AM

29
#671 - koziejka_com / @koziejka_com

04/11/2019 at 10:30AM

29
#672 - berp / @blerpaderp

04/19/2019 at 07:51PM

29
#673 - rvnjsphdmn / @rvnjsphdmn

04/30/2019 at 03:41AM

29
#674 - Fiffy / @sr21486642

05/06/2019 at 02:22PM

29
#675 - chihiro / @chihiro0940

05/09/2019 at 01:27PM

29
#676 - Sam Gentle / @Zanzibar_1sland

05/22/2019 at 04:10AM

29
#677 - Gar Morley / @garmorley

05/24/2019 at 03:57PM

29
#678 - Murmus / @MurmusCTF

06/03/2019 at 02:31PM

29
#679 - deHman89 / @danho89

06/04/2019 at 01:56PM

29
#680 - Philip / @vCoRezZ

06/06/2019 at 11:19AM

29
#681 - Zevurari / @zevurari

06/06/2019 at 08:41PM

29
#682 - Sai Praneeth Reddy / @rm_rfasterisk

06/25/2019 at 05:21AM

29
#683 - cinder 🔥 / @cyndrdev

06/27/2019 at 04:33PM

29
#684 - Floyd Gantt / @fgantt

06/27/2019 at 06:13PM

29
#685 - kasper / @kasper72454971

06/30/2019 at 05:45PM

29
#686 - Giulio Bottari / @giuliobottari

07/05/2019 at 03:23AM

29
#687 - Diego Balseiro / @diegobalseiro

07/10/2019 at 02:55AM

29
#688 - mirsemen / @mirsemen1

07/14/2019 at 03:51PM

29
#689 - sztolabs / @sztolabs

07/17/2019 at 07:26AM

29
#690 - Drew Gottlieb / @Drew_Gottlieb

07/20/2019 at 05:00AM