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

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

130 active golfers, 587 entries

Solutions by @MarhjaKhazua:
26
#55 - Tim / @MarhjaKhazua

05/16/2022 at 06:27PM

32
#>72 - Tim / @MarhjaKhazua

05/16/2022 at 06:22PM