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 3417 remaining solutions by signing in and submitting your own entry
#3418 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

3418 active golfers, 11657 entries

Leaderboard (lowest score wins):
23
#2851 - Eoin Henkel-Murphy / @HenkelMurphy

11/06/2020 at 07:51AM

23
#2852 - π™²πšŠπšŸπšŠπš— πš†πšŠπšπš / @cavankwagg

11/12/2020 at 02:47AM

23
#2853 - vorsterj / @vorsterj

05/18/2021 at 06:43PM

24
#2854 - Dan Loewenherz / @dwlz

12/28/2010 at 08:14PM

24
#2855 - Andrei Dragomir / @adragomir

01/01/2011 at 09:40PM

24
#2856 - Craig H. Anderson / @CootCraig

04/17/2011 at 08:38AM

24
#2857 - Derrick Camerino / @robustdj

04/20/2011 at 10:49PM

24
#2858 - asdasdasdasd / @asdary183h74891

04/29/2011 at 06:42AM

24
#2859 - Bertrand B.-C. / @Bertrandbc

04/02/2013 at 03:13AM

24
#2860 - Si Beaumont / @simonjbeaumont

06/28/2013 at 11:25AM

24
#2861 - David Kormushoff / @Kormie

07/09/2013 at 12:58PM

24
#2862 - Alan Fung-Schwarz / @ajcfs

07/12/2013 at 03:33PM

24
#2863 - venkatakrishnan / @venkatk_

08/19/2013 at 12:47PM

24
#2864 - Fernando Axel Ellis / @Axel_Ellis

09/05/2013 at 09:52PM

24
#2865 - John Boyd / @theboydvoid

10/25/2013 at 12:34AM

24
#2866 - Richard Wonka / @TheWonka

11/08/2013 at 11:05AM

24
#2867 - Nick Austin / @NickAustin13

01/30/2014 at 06:17PM

24
#2868 - Gowtham Madhava / @gowthamgowtham

02/07/2014 at 03:27PM

24
#2869 - Vexus2 / @Vexus2

03/13/2014 at 02:15AM

24
#2870 - TimWolla / @TimWolla

03/13/2014 at 10:21PM

24
#2871 - Geetthu Joseph / @geethuaj

03/20/2014 at 12:29PM

24
#2872 - Darrin McCarthy / @darrinmc

05/30/2014 at 03:38AM

24
#2873 - compiled wrong / @compiledwrong

06/17/2014 at 03:25AM

24
#2874 - David Hume / @djh95

07/07/2014 at 09:35AM

24
#2875 - Dominik SzerszeΕ„ / @DominikSze

07/21/2014 at 09:16PM

24
#2876 - JonathanStarnes / @JON_STARNES

08/08/2014 at 02:55AM

24
#2877 - Jake Worth / @jwworth

10/12/2014 at 12:54AM

24
#2878 - DGrif_in / @DGrif_in

11/06/2014 at 08:54AM

24
#2879 - Edmundo Perez / @ingedmundo

12/03/2014 at 04:46PM

24
#2880 - Nicolas Dascanio / @NicoDascanio

12/05/2014 at 05:32PM