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

44 active golfers, 182 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

23
#12 - Tuure / @tuure_p

08/20/2021 at 07:56PM

24
#13 - garry quested / @GQuested

08/06/2021 at 02:23PM

24
#14 - Bspammer / @Bspammer

08/13/2021 at 10:38PM

24
#15 - Saki Gw / @Sakigw

08/23/2021 at 09:14AM

25
#16 - Sadot Cortés / @sadotsoy

07/27/2021 at 02:11AM

25
#17 - Hourann Lin / @HourannLin

08/05/2021 at 05:38PM

25
#18 - AAbraxas / @AAbraxas1

08/08/2021 at 08:11PM

25
#19 - Il Granfiatore / @M_Klauer

08/09/2021 at 08:13PM

25
#20 - br_bookbinder / @br_bookbinder

08/14/2021 at 01:54AM

25
#21 - Babil G. Sarwar / @gsbabil

08/16/2021 at 11:15AM

26
#22 - Ethan Rietz / @EthanRietz

07/25/2021 at 06:45PM

26
#23 - Clmi / @c_decaf

08/04/2021 at 04:18PM

26
#24 - Peter Pandorum / @PeterPandorum

08/07/2021 at 11:55AM

26
#25 - Daniel Steinberg / @dstein64

09/10/2021 at 12:45AM

27
#26 - mevmev / @mevmev8

08/10/2021 at 02:21PM

28
#27 - David Díez / @deslogica

07/26/2021 at 01:43PM

31
#28 - Rasmus Bergström / @JRasmusBm

07/23/2021 at 09:32PM

33
#29 - Tom / @Toromtomtom

08/11/2021 at 12:24PM

34
#30 - Sergio / @SergioVl12

07/24/2021 at 04:10AM