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 by @Mick_Carey:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @EthanRietz

60 active golfers, 262 entries

Solutions by @Mick_Carey:
19
#1 - Michael Carey / @Mick_Carey

08/12/2021 at 08:34AM

23
#>14 - Michael Carey / @Mick_Carey

08/08/2021 at 04:42AM