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

1864 active golfers, 7827 entries

Leaderboard (lowest score wins):
45
#1741 - Matador Funkmann / @MFunkmann

05/26/2019 at 06:20PM

45
#1742 - siledUp / @siledev1

10/02/2019 at 09:37PM

45
#1743 - panakin skywalker / @_j3ffrey

05/19/2020 at 02:28PM

45
#1744 - kenotaph / @kenotaph

09/02/2020 at 10:28AM

45
#1745 - Kaustubh Murumkar / @k_austub_h

09/21/2020 at 02:27PM

45
#1746 - Ugg / @Ugg_dvmx

02/25/2021 at 07:03AM

46
#1747 - 김효섭 / @hyosub19

03/05/2019 at 07:38AM

46
#1748 - John / @John40423001

04/06/2019 at 11:20AM

46
#1749 - Raghav Subramaniam / @raghavsub

07/15/2019 at 11:37PM

46
#1750 - Tom Charles / @tomcharles__

07/22/2019 at 01:07AM

46
#1751 - dahara / @kuma_moooon

08/07/2019 at 01:25PM

46
#1752 - kijete3127 / @kijete3127

12/13/2020 at 01:47PM

47
#1753 - Mitchell Hanberg / @mitchhanberg

03/19/2019 at 04:24PM

47
#1754 - _ / @bastla

05/02/2019 at 12:11PM

47
#1755 - Víctor López / @viticlick

05/08/2019 at 11:52AM

47
#1756 - Jacob McCrumb / @MccrumbJacob

05/29/2019 at 06:47PM

47
#1757 - ace_of_art_club / @aceofartclub1

12/16/2019 at 03:59PM

47
#1758 - Antoine Pietri / @seirl_

05/12/2020 at 08:28AM

48
#1759 - Jessica Wang / @jesszwang

04/11/2019 at 10:00PM

48
#1760 - kafang plays vimgolf / @KafangV

12/16/2020 at 02:34PM

48
#1761 - 방일우 / @CD5PpB36ZR5kWtk

01/06/2021 at 01:15AM

48
#1762 - vesa / @XingfDu

01/08/2021 at 12:04PM

49
#1763 - Benjamin Pelletier / @benjipelletier

09/24/2019 at 01:28PM

49
#1764 - Osama Abdelsatar / @Osa_ahlawy

03/20/2020 at 11:56PM

50
#1765 - Kishou Yusa / @YusaKishou

07/18/2019 at 04:55AM

50
#1766 - Zviad Mgaloblishvili / @ZMgaloblishvili

10/10/2019 at 08:16PM

50
#1767 - Max Coplan / @mchcopl

12/21/2019 at 07:22PM

51
#1768 - Rajasegar Chandran / @rajasegar_c

09/25/2019 at 05:23AM

52
#1769 - Matthias Kausl / @sig_segv

04/22/2019 at 02:50PM

52
#1770 - Swapnil Vinay Dinkar / @swapnildinkar

04/27/2019 at 07:38PM