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 9v0060fb2aa900000000020b

Learn to ask for :help

Learn to use the help to reduce your strokes...

Start file
 
End file
                        VIM - main help file
                                                                         k
     
Move around:  Use the cursor keys, or "h" to go left,            h   l
                   
"j" to go down, "k" to go up, "l" to go right.       j
Close this window:  Use ":q<Enter>".
   
Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).
------------------------------------------------------------------------------
*bars*          Bars example
Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

View Diff

1c1,9
<  
---
>                       VIM - main help file
>                                                                        k
>       Move around:  Use the cursor keys, or "h" to go left,          h   l
>                   "j" to go down, "k" to go up, "l" to go right.       j
> Close this window:  Use ":q<Enter>".
>    Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).
> ------------------------------------------------------------------------------
> *bars*                Bars example
> Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

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 129 remaining solutions by signing in and submitting your own entry
#130 damien / @GreatTestyTest - Score: 177 - 07/31/21 @ 16:00
:help<CR>jjvjjjjjjj$y:q<CR><Esc>p:help<CR>jk/bars<CR>nnjkkhhhhhhhhhhhvj$y:q<CR>jjjjjj<Esc>pjjddjdd<Esc>ja<Esc>jkkkkkkkkhhhhxhhhhhh<Esc>hhhb<Esc><Esc>0<Esc>jkkhhhhhhjkb<Esc>xhhhhhhh<Esc>u<Esc>hhhjkxxx h<Esc>i<Tab><Tab><Tab><Esc>jkjjjjjjjjjjjjjjjjjjjjk:w<CR>:q<CR>

0 comments


Created by: @EthanRietz

130 active golfers, 587 entries

Leaderboard (lowest score wins):
19
#1 - Michael Carey / @Mick_Carey

08/12/2021 at 08:34AM

19
#2 - Roman Privalov / @RomanPrivalov

08/27/2021 at 03:36AM

19
#3 - Peppa Pig / @PeppaPigSg

07/02/2024 at 04:24AM

21
#4 - Jon Krause / @jkrause314

07/29/2021 at 03:00PM

21
#5 - "Smylers" / @Smylers2

07/29/2021 at 03:06PM

21
#6 - chen chang ting / @chen41283922

07/31/2021 at 08:36AM

21
#7 - John Braxler / @braxler

08/02/2021 at 04:42PM

21
#8 - Miłosz Łakomy / @foobar01123

08/09/2021 at 11:17AM

21
#9 - e1mnos / @e1mnos

08/09/2021 at 11:09PM

21
#10 - Maksim / @its_terra

08/15/2021 at 03:15PM

21
#11 - Trần Chí Thiện / @tecix

08/17/2021 at 09:30AM

21
#12 - Monte Creasor / @montecreasor

08/17/2021 at 10:15PM

21
#13 - miko417 / @mikeo404

09/29/2021 at 05:46AM

21
#14 - migoo / @migoo00668679

10/10/2021 at 07:06AM

21
#15 - A A A / @37fatos

10/20/2021 at 11:43PM

21
#16 - Pedro Minicz / @pedrominicz

03/25/2022 at 11:56PM

21
#17 - Pablo Cárdenas / @pablo_cardenasb

05/20/2022 at 07:12AM

21
#18 - russellzhaomao / @russellzhaomao

05/20/2022 at 01:05PM

21
#19 - Fabio Murru / @MurruFabio

06/01/2022 at 10:44PM

21
#20 - }(⇒){ / @TangerinePlank

06/19/2022 at 10:57AM

21
#21 - Topvimgolf Score / @topvimgolfscore

10/15/2022 at 01:09PM

21
#22 - MonkieeBoi / @MonkieeBoi

11/21/2023 at 05:05PM

21
#23 - John Kershaw / @johnkershaw

04/18/2024 at 10:16PM

21
#24 - Tomek / @Madghostek

04/22/2024 at 01:17PM

23
#25 - Tuure / @tuure_p

08/20/2021 at 07:56PM

23
#26 - DR / @dde81

10/31/2021 at 05:44PM

23
#27 - TimMcGuire / @mcguire

11/16/2021 at 03:58AM

23
#28 - ToofanJohn / @ToofanJohn

03/13/2022 at 07:25PM

23
#29 - satetheus-vimgolf / @SVimgolf

07/08/2022 at 05:43AM

23
#30 - vuems / @vuems2win

11/17/2022 at 02:07PM