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 4d1a34ccfa85f32065000004

Simple text editing with Vim

Make the pairs of lines match up by making each second line same as first

Start file
Make the pairs of lines match up by making each second line same as first:

# Appending text:
The name "Vim" is an acronym for "Vi IMproved"
The name "Vim" is an acronym for

# Editing text:
Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga
Trivia: Vim is a text editor released by Bram Moolenaar in 1991 for the Amiga

# Deleting text:
Vim has a vi compatibility mode
Vim has a vi compatibility mode but when not in this mode Vim has many enhancements over vi
End file
Make the pairs of lines match up by making each second line same as first:

# Appending text:
The name "Vim" is an acronym for "Vi IMproved"
The name "Vim" is an acronym for "Vi IMproved"

# Editing text:
Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga
Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga

# Deleting text:
Vim has a vi compatibility mode
Vim has a vi compatibility mode

View Diff

5c5
< The name "Vim" is an acronym for
---
> The name "Vim" is an acronym for "Vi IMproved"
9c9
< Trivia: Vim is a text editor released by Bram Moolenaar in 1991 for the Amiga
---
> Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga
13c13
< Vim has a vi compatibility mode but when not in this mode Vim has many enhancements over vi
---
> Vim has a vi compatibility mode

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 3872 remaining solutions by signing in and submitting your own entry
#3873 M. C. / @mczerkawski - Score: 918 - 12/29/10 @ 09:07
k<Down><Down><Down><Right><Right><Right><Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right> <Left><Up><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>i<Right> "Vi IMproved"<Down><Down><Down><Down><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Right><Up><Right><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Down><Left><BS><BS><BS><BS><BS><BS><BS><Del><Down><Down><Down><Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Down><Esc><Right><Down><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Up><Up><Up><Up><Left><Left><Left><Left><Left><Left><Left><Left><Left>o<BS><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>i<BS>originally <Right><Right><Right><Right><Esc>:w<CR>:wq<CR>

0 comments


Created by: @igrigorik

3873 active golfers, 13506 entries

Leaderboard (lowest score wins):
13
#751 - siegesmundm / @siegesmundm

08/10/2025 at 02:08PM

13
#752 - Ludovic Schwartz / @ludovicschwartz

10/02/2025 at 03:03PM

13
#753 - Vsevolod Rychkov / @MadPigeon

10/23/2025 at 09:23AM

13
#754 - Dmitrii Efimenko / @0pt1m1z3r

10/28/2025 at 06:47PM

13
#755 - dcran108 / @dcran108

11/25/2025 at 09:18AM

13
#756 - adiantum / @adiantum-studio

12/13/2025 at 04:28AM

13
#757 - donghwanjin / @donghwanjin

12/14/2025 at 05:04AM

13
#758 - yellowstickynote / @yellowstickynote

12/24/2025 at 04:26PM

13
#759 - Higluos / @Higluos

01/06/2026 at 01:33PM

13
#760 - Alex Barnett / @Gullfaxi29

01/09/2026 at 03:30AM

13
#761 - kloir-z / @kloir-z

01/24/2026 at 11:48AM

13
#762 - DongHo Jung / @dongho-jung

01/30/2026 at 03:37PM

13
#763 - David Behar Lombrozo / @behagoras

02/11/2026 at 01:23AM

13
#764 - Aubrey Clark / @ketexon

02/18/2026 at 11:20PM

13
#765 - NostraDavid / @NostraDavid

02/24/2026 at 10:57PM

13
#766 - Martin / @mpodhaisky

02/26/2026 at 12:18PM

13
#767 - kfujii1124 / @kfujii1124

02/28/2026 at 03:18AM

13
#768 - jakharsh26 / @jakharsh26

03/15/2026 at 10:03PM

13
#769 - NonlinearFruit / @NonlinearFruit

04/02/2026 at 09:57PM

13
#770 - Massimo Pavoni / @massimopavoni

04/08/2026 at 11:11PM

13
#771 - 000AG000 / @000AG000

05/10/2026 at 08:17PM

13
#772 - Bobobie / @Bobobie

05/12/2026 at 05:40AM

14
#773 - Mirosław Boruta / @m1rk00

12/28/2010 at 09:53PM

14
#774 - Aaron Bull Schaefer / @elasticdog

12/29/2010 at 12:01AM

14
#775 - Paul King / @nrocy

12/29/2010 at 05:52AM

14
#776 - Kerry Buckley / @kerryb

12/29/2010 at 07:47AM

14
#777 - John Lam / @john_lam

12/29/2010 at 08:57AM

14
#778 - foo bar / @whoever_foo

12/29/2010 at 10:13AM

14
#779 - Marcelo F Andrade / @mfandrade

12/29/2010 at 04:29PM

14
#780 - Austin Taylor / @austintaylor

12/29/2010 at 04:51PM