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

1015 active golfers, 4229 entries

Leaderboard (lowest score wins):
36
#871 - Thiago Preischadt / @TPreischadt

07/10/2019 at 02:04AM

36
#872 - Bob Ren / @bobrenjc93

07/22/2019 at 10:14PM

36
#873 - Mike Hourahine / @mhourahine

07/31/2019 at 04:21AM

36
#874 - RevoGen / @gen_revo

08/24/2019 at 05:20AM

36
#875 - Mark / @markfilus

09/12/2019 at 02:33AM

36
#876 - Temp / @San5nom

09/20/2019 at 08:25PM

36
#877 - Robin Schütgens / @RobinSchuetgens

09/27/2019 at 10:13AM

36
#878 - TechBurgers / @TechBurgers

10/05/2019 at 10:19AM

36
#879 - ntn / @ntn60340761

10/11/2019 at 08:43PM

37
#880 - Tom Szyszko / @DaPolishMafia01

03/15/2019 at 07:26PM

37
#881 - Alex / @thekyz

04/17/2019 at 03:22PM

37
#882 - manhquan / @manhquan110

05/08/2019 at 03:58PM

37
#883 - tllilleh / @tllilleh

05/14/2019 at 08:56PM

37
#884 - ./yamada / @yamadad_

06/19/2019 at 05:21AM

37
#885 - Robert Buckley / @rbuckley30

08/23/2019 at 08:51PM

38
#886 - Thomas Surlykke / @THSurlykke

03/08/2019 at 10:19AM

38
#887 - venkatakrishnan / @venkatk_

04/12/2019 at 05:53AM

38
#888 - William Kennedy / @William13792486

09/24/2019 at 01:41PM

38
#889 - This Is Computer Art / @wowsuchcode

10/20/2019 at 03:22PM

38
#890 - ENSORIZATION / @ensorization

11/01/2019 at 09:56PM

39
#891 - 🎈 / @mainshayne233

03/04/2019 at 01:21PM

39
#892 - Ashley Harvey / @ashleyharvey87

03/07/2019 at 08:53PM

39
#893 - Kyle Safran / @kylesafran

03/11/2019 at 04:53PM

39
#894 - Josh Callender / @Saponifi3d

03/14/2019 at 09:03PM

39
#895 - 拉书单 / @NaapN2

03/19/2019 at 10:48AM

39
#896 - Andreas Kollaros / @akdeveloper

04/06/2019 at 09:13PM

39
#897 - Tony Buranzon / @therealTbunz

04/24/2019 at 06:27PM

39
#898 - Justus Thane / @justusthane

05/09/2019 at 04:21PM

39
#899 - Andreas Norrstig / @ANorrstig

05/16/2019 at 07:58PM

39
#900 - wsg / @wsg31986835

07/04/2019 at 02:31PM