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 101 remaining solutions by signing in and submitting your own entry
#102 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

102 active golfers, 447 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

21
#3 - Jon Krause / @jkrause314

07/29/2021 at 03:00PM

21
#4 - Smylers / @Smylers2

07/29/2021 at 03:06PM

21
#5 - chen chang ting / @chen41283922

07/31/2021 at 08:36AM

21
#6 - John Braxler / @braxler

08/02/2021 at 04:42PM

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

08/09/2021 at 11:17AM

21
#8 - e1mnos / @e1mnos

08/09/2021 at 11:09PM

21
#9 - Maksim / @its_terra

08/15/2021 at 03:15PM

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

08/17/2021 at 09:30AM

21
#11 - Monte Creasor / @montecreasor

08/17/2021 at 10:15PM

21
#12 - miko417 / @mikeo404

09/29/2021 at 05:46AM

21
#13 - migoo / @migoo00668679

10/10/2021 at 07:06AM

21
#14 - A A A / @37fatos

10/20/2021 at 11:43PM

21
#15 - Pedro Minicz / @pedrominicz

03/25/2022 at 11:56PM

21
#16 - Pablo Cárdenas / @pablo_cardenasb

05/20/2022 at 07:12AM

21
#17 - russellzhaomao / @russellzhaomao

05/20/2022 at 01:05PM

21
#18 - Fabio Murru / @MurruFabio

06/01/2022 at 10:44PM

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

06/19/2022 at 10:57AM

21
#20 - Topvimgolf Score / @topvimgolfscore

10/15/2022 at 01:09PM

23
#21 - Tuure / @tuure_p

08/20/2021 at 07:56PM

23
#22 - DR / @dde81

10/31/2021 at 05:44PM

23
#23 - TimMcGuire / @mcguire

11/16/2021 at 03:58AM

23
#24 - ToofanJohn / @ToofanJohn

03/13/2022 at 07:25PM

23
#25 - satetheus-vimgolf / @SVimgolf

07/08/2022 at 05:43AM

23
#26 - vuems / @vuems2win

11/17/2022 at 02:07PM

24
#27 - garry quested / @GQuested

08/06/2021 at 02:23PM

24
#28 - Bspammer / @Bspammer

08/13/2021 at 10:38PM

24
#29 - Saki Gw / @Sakigw

08/23/2021 at 09:14AM

24
#30 - Jean George / @JeanGeo20504212

09/28/2021 at 04:48PM