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

1307 active golfers, 5485 entries

Leaderboard (lowest score wins):
34
#1081 - shredded / @shredded

04/13/2019 at 10:43AM

34
#1082 - Ramesh Fit / @faltuFeet

04/16/2019 at 11:58PM

34
#1083 - 沸腾钢 / @tobecloud

04/19/2019 at 08:04AM

34
#1084 - chriskuck / @chriskuck

04/19/2019 at 07:00PM

34
#1085 - lilicoco / @lilicoco20

04/26/2019 at 11:06PM

34
#1086 - Frede Emil / @Frede_Eb

05/05/2019 at 01:06PM

34
#1087 - JvdB01 / @JvdB001

05/07/2019 at 03:53PM

34
#1088 - Enrico Campidoglio / @ecampidoglio

05/13/2019 at 02:58PM

34
#1089 - Rodave / @r0drOGS

05/13/2019 at 09:16PM

34
#1090 - Jess / @Jess74311450

06/10/2019 at 01:15PM

34
#1091 - John Herman Schwit / @JohnHermanSchwi

06/22/2019 at 01:21AM

34
#1092 - fisch@emacs / @WingsORC

07/20/2019 at 03:03PM

34
#1093 - wwilkins / @wwilkins

07/24/2019 at 12:10AM

34
#1094 - Emily Macon / @ET_Macon

08/24/2019 at 11:31PM

34
#1095 - Stefan Käser / @stivi_kivi

09/17/2019 at 11:59AM

34
#1096 - Dantes / @YoManu513_

01/07/2020 at 09:31PM

34
#1097 - Mateusz / @foobar98765

01/16/2020 at 08:06PM

34
#1098 - Larry Adames / @LarryAdames

01/19/2020 at 12:58AM

34
#1099 - Mikael Brassman / @spoike

03/03/2020 at 03:49PM

34
#1100 - Nelio Santos / @nssantos

03/25/2020 at 02:37AM

35
#1101 - noon / @noonknowsnonuno

03/06/2019 at 03:00PM

35
#1102 - decentninja / @decentninja

03/06/2019 at 07:58PM

35
#1103 - Dennis Parchkov / @DParchkov

03/15/2019 at 07:25PM

35
#1104 - Raúl Cumplido / @raulcumplido

03/19/2019 at 02:46PM

35
#1105 - Emanuele Aliverti / @memeAliverti

04/23/2019 at 02:09PM

35
#1106 - Urquhart #SurrenderBill / @LostUrquhart

05/13/2019 at 11:41AM

35
#1107 - Fernando Motta / @Fmmotta01

06/10/2019 at 12:10PM

35
#1108 - Chris G / @AboutThatThing

06/10/2019 at 03:12PM

35
#1109 - duyanh.y4n.pham / @PhamY4n

06/10/2019 at 05:46PM

35
#1110 - ほた / @hota1024

06/11/2019 at 10:03AM