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

65 active golfers, 280 entries

Leaderboard (lowest score wins):
26
#31 - Daniel Steinberg / @dstein64

09/10/2021 at 12:45AM

26
#32 - POSIX / @po6ix

01/08/2022 at 12:43PM

27
#33 - mevmev / @mevmev8

08/10/2021 at 02:21PM

28
#34 - David Díez / @deslogica

07/26/2021 at 01:43PM

28
#35 - Julian Pottle / @jules_np

10/13/2021 at 02:28PM

31
#36 - Rasmus Bergström / @JRasmusBm

07/23/2021 at 09:32PM

31
#37 - redraw / @redraw_

11/13/2021 at 03:37AM

32
#38 - 深窓の令嬢@百合厨 / @arbino1031

11/24/2021 at 02:43PM

32
#39 - Ryan Cleary / @ry_guy41

12/24/2021 at 02:36AM

32
#40 - Sammit / @somemeatjain

01/23/2022 at 11:31AM

33
#41 - Tom / @Toromtomtom

08/11/2021 at 12:24PM

34
#42 - Sergio / @SergioVl12

07/24/2021 at 04:10AM

34
#43 - Professor of Canine Ludology / @EthanMcQuarrie

08/13/2021 at 05:17AM

34
#44 - vimgolfleo / @vimgolfleo1

10/17/2021 at 12:04PM

35
#45 - Drew Abram / @drewma2k

10/06/2021 at 06:58PM

35
#46 - deusthe / @deusthe91

12/18/2021 at 01:47PM

36
#47 - Russell Helmstedter / @RHelmstedter

07/28/2021 at 02:07AM

36
#48 - preethamrn / @preethamrn

10/22/2021 at 06:11AM

37
#49 - Ben Shephard / @_shepharddd_

08/17/2021 at 11:20AM

37
#50 - kotatsu goblin (now with 3 points) / @tamalefencer

11/29/2021 at 10:41AM

38
#51 - Kshitiz Mandal / @xitizmandal

09/21/2021 at 06:09PM

41
#52 - Alaris Morissette / @Alaris_Villain

07/30/2021 at 04:42AM

41
#53 - Andrius / @Andrius28757706

08/30/2021 at 04:27PM

45
#54 - dadchyyy / @dadchyyy

08/26/2021 at 02:47PM

45
#55 - Michael / @triorph

11/09/2021 at 07:15AM

47
#56 - Emiliano Ruiz Carletti / @eruizc_dev

07/23/2021 at 09:15PM

49
#57 - Maorun / @Maorun11

08/11/2021 at 04:08PM

49
#58 - Tommy / @Tommy75962547

08/23/2021 at 05:58AM

53
#59 - Connor / @ronnocthered

08/15/2021 at 02:22AM

54
#60 - Saurav / @ray__saurav

09/26/2021 at 07:31AM