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

124 active golfers, 544 entries

Leaderboard (lowest score wins):
31
#61 - Rasmus Bergström / @JRasmusBm

07/23/2021 at 09:32PM

31
#62 - redraw / @redraw_

11/13/2021 at 03:37AM

31
#63 - Felix Linhardt / @FelixLinhardt

02/25/2022 at 09:41PM

31
#64 - LandR / @ListenAndR

11/01/2023 at 01:54AM

32
#65 - 深窓の令嬢@ドクター / @arbino1031

11/24/2021 at 02:43PM

32
#66 - Ryan Cleary / @ry_guy41

12/24/2021 at 02:36AM

32
#67 - Sammit / @somemeatjain

01/23/2022 at 11:31AM

32
#68 - Justin Haaheim / @justinhaaheim

02/25/2022 at 09:38PM

32
#69 - Alex / @AlexanderHeatl2

05/21/2022 at 05:18PM

32
#70 - vimgolfaccfekxh / @vimgolfaccfekxh

10/27/2022 at 06:45PM

32
#71 - 马海洋 / @LG41bT7ZvqOdFl3

02/07/2023 at 07:53PM

32
#72 - steve / @steve35773420

04/26/2023 at 11:51PM

32
#73 - Hugo O Rivera / @roguh

12/29/2023 at 03:51AM

32
#74 - dehi / @dehidehidehi

02/11/2024 at 06:28PM

33
#75 - Tom / @Toromtomtom

08/11/2021 at 12:24PM

34
#76 - Sergio / @SergioVl12

07/24/2021 at 04:10AM

34
#77 - Pretend it's Beef / @EthanMcQuarrie

08/13/2021 at 05:17AM

34
#78 - vimgolfleo / @vimgolfleo1

10/17/2021 at 12:04PM

34
#79 - Alex Fall / @alexandfall

03/09/2022 at 06:54PM

34
#80 - Alex Lewin / @_AlexLewin

07/18/2022 at 10:38PM

35
#81 - Drew Abram / @drewma2k

10/06/2021 at 06:58PM

35
#82 - deusthe / @deusthe91

12/18/2021 at 01:47PM

35
#83 - Rodney Visser / @_Radnus

03/15/2022 at 08:26PM

35
#84 - redbigyesnoGoThenWhy / @redbigyesno

05/30/2022 at 01:50PM

35
#85 - Nick Salesky / @NickSalesky

08/17/2022 at 03:47AM

35
#86 - Ratkovszki István / @RatkovszkiIstvn

09/07/2022 at 10:06PM

35
#87 - MC / @MC88686523

12/05/2022 at 11:42PM

35
#88 - bonettimrc / @bonettimrc

04/28/2024 at 01:34PM

36
#89 - Russell Helmstedter / @RHelmstedter

07/28/2021 at 02:07AM

36
#90 - preethamrn / @preethamrn

10/22/2021 at 06:11AM