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

1021 active golfers, 4246 entries

Leaderboard (lowest score wins):
34
#841 - John Herman Schwit / @JohnHermanSchwi

06/22/2019 at 01:21AM

34
#842 - fisch@emacs / @WingsORC

07/20/2019 at 03:03PM

34
#843 - wwilkins / @wwilkins

07/24/2019 at 12:10AM

34
#844 - Emily Macon / @ET_Macon

08/24/2019 at 11:31PM

34
#845 - Stefan Käser / @stivi_kivi

09/17/2019 at 11:59AM

35
#846 - noon / @noonknowsnonuno

03/06/2019 at 03:00PM

35
#847 - decentninja / @decentninja

03/06/2019 at 07:58PM

35
#848 - Dennis Parchkov / @DParchkov

03/15/2019 at 07:25PM

35
#849 - Raúl Cumplido / @raulcumplido

03/19/2019 at 02:46PM

35
#850 - Emanuele Aliverti / @memeAliverti

04/23/2019 at 02:09PM

35
#851 - victor tortolero / @MightyPenguinV

05/02/2019 at 03:11PM

35
#852 - Francois Urquhart / @LostUrquhart

05/13/2019 at 11:41AM

35
#853 - Fernando Motta / @Fmmotta01

06/10/2019 at 12:10PM

35
#854 - Chris G / @AboutThatThing

06/10/2019 at 03:12PM

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

06/10/2019 at 05:46PM

35
#856 - ほた / @hota1024

06/11/2019 at 10:03AM

35
#857 - vasyharan / @vasyharan

07/02/2019 at 07:05PM

35
#858 - Slavujko / @Slavujko3

07/03/2019 at 04:53AM

35
#859 - Gustavo Almeida / @gustaalmeidaws

07/07/2019 at 04:44PM

35
#860 - Snarf / @desnarf

07/09/2019 at 02:10AM

35
#861 - Robin Abrahamsson / @rqAbrahamsson

07/22/2019 at 07:27PM

35
#862 - Pittson / @Pittson95

07/31/2019 at 04:18PM

35
#863 - Lukas Stratmann / @Lumpiluk

08/07/2019 at 02:21PM

35
#864 - Le Tu Binh / @LeTuBinh1

08/22/2019 at 06:33AM

35
#865 - schlecky / @schlecky3

09/10/2019 at 01:52PM

35
#866 - robikudor / @robikudor

09/19/2019 at 10:51AM

35
#867 - coelacanth / @coelacanthco

10/21/2019 at 03:42PM

35
#868 - Trevor Fehrman / @TrevorFehrman

10/25/2019 at 06:05PM

36
#869 - Kevin Tindall / @kevinkjt2000

03/08/2019 at 01:20AM

36
#870 - Christopher Fujino / @chrisfujino

03/08/2019 at 02:58AM