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

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

130 active golfers, 587 entries

Solutions by @Madghostek:
21
#24 - Tomek / @Madghostek

04/22/2024 at 01:17PM

23
#>32 - Tomek / @Madghostek

04/22/2024 at 01:13PM

24
#>41 - Tomek / @Madghostek

04/22/2024 at 01:02PM

25
#>48 - Tomek / @Madghostek

04/22/2024 at 12:58PM

27
#>59 - Tomek / @Madghostek

04/22/2024 at 12:57PM

29
#>63 - Tomek / @Madghostek

04/22/2024 at 12:56PM

31
#>68 - Tomek / @Madghostek

04/22/2024 at 12:55PM

34
#>84 - Tomek / @Madghostek

04/22/2024 at 12:43PM

37
#>100 - Tomek / @Madghostek

04/22/2024 at 12:41PM

38
#>102 - Tomek / @Madghostek

04/22/2024 at 12:48PM