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 @russellzhaomao:

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

130 active golfers, 587 entries

Solutions by @russellzhaomao:
21
#18 - russellzhaomao / @russellzhaomao

05/20/2022 at 01:05PM

23
#>28 - russellzhaomao / @russellzhaomao

05/20/2022 at 12:49PM

24
#>40 - russellzhaomao / @russellzhaomao

05/20/2022 at 10:14AM

25
#>47 - russellzhaomao / @russellzhaomao

05/20/2022 at 10:38AM

25
#>47 - russellzhaomao / @russellzhaomao

05/20/2022 at 10:48AM

27
#>58 - russellzhaomao / @russellzhaomao

05/20/2022 at 10:09AM

31
#>67 - russellzhaomao / @russellzhaomao

05/20/2022 at 08:50AM

44
#>109 - russellzhaomao / @russellzhaomao

05/20/2022 at 08:37AM

48
#>116 - russellzhaomao / @russellzhaomao

05/20/2022 at 08:30AM