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

1861 active golfers, 7818 entries

Leaderboard (lowest score wins):
24
#841 - zoozers / @zoozers

05/12/2019 at 05:17AM

24
#842 - Amila Pasan / @amilapsn

05/12/2019 at 04:34PM

24
#843 - Nico W. / @AirlessAtmo

05/12/2019 at 07:20PM

24
#844 - TheMagzuz / @DamMarkus

05/16/2019 at 05:47PM

24
#845 - Caleb Rollins / @CalebRollins1

05/16/2019 at 07:49PM

24
#846 - Nick Yeow / @nickyeow

05/21/2019 at 04:47PM

24
#847 - Martijn Brekelmans / @Azeirah

05/24/2019 at 08:25PM

24
#848 - throw away / @f44lyf

05/29/2019 at 03:55AM

24
#849 - sitadivon / @sitadivon1

05/29/2019 at 06:15AM

24
#850 - golf_throwaway / @GolfThrowaway

06/04/2019 at 06:11PM

24
#851 - Shyam Padia / @thegeektherapy

06/07/2019 at 10:30PM

24
#852 - Petter Wahlman / @badeip

06/08/2019 at 10:53AM

24
#853 - Clarence Cheong / @IBrightStudioI

06/08/2019 at 02:02PM

24
#854 - たぬぽん / @eJYwMbymauWKF4B

06/10/2019 at 09:54PM

24
#855 - zealotrush / @zealotrush

06/14/2019 at 05:47AM

24
#856 - albalitz / @_albalitz

06/20/2019 at 04:13PM

24
#857 - Sjoerd Thijsse / @SjoerdThijsse

06/25/2019 at 06:02PM

24
#858 - Thomas / @TBonnin

07/01/2019 at 08:27AM

24
#859 - Riley Shea / @RShea001

07/07/2019 at 05:39AM

24
#860 - Lingyu Yi / @LgxLingyu

07/08/2019 at 03:38AM

24
#861 - Sean Sullivan / @_seanyneutron

07/11/2019 at 06:08PM

24
#862 - Mat / @matpbo

07/12/2019 at 02:43AM

24
#863 - asdkljsadladlaldcxmzwqewq / @asdkljsadladla1

07/21/2019 at 07:41AM

24
#864 - Not real / @Notreal70353016

07/23/2019 at 04:17AM

24
#865 - matt.boyer / @mattboy54261877

07/27/2019 at 06:59AM

24
#866 - Brian Li / @BriungRi

08/09/2019 at 05:59PM

24
#867 - Luiz Eduardo Amaral / @_luxedo

08/09/2019 at 06:08PM

24
#868 - Jake Treacher / @jaketreacher

08/14/2019 at 10:13AM

24
#869 - vim_ninja / @NinjaVim

08/19/2019 at 01:31PM

24
#870 - Simon Wilkinson / @simondwilkinson

08/24/2019 at 01:47PM