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

3099 active golfers, 10601 entries

Leaderboard (lowest score wins):
14
#1021 - gary.klindt@googlema / @garstekli

11/10/2013 at 09:05PM

14
#1022 - kurban / @kurban_mall

11/14/2013 at 09:44PM

14
#1023 - Ilya Ermolin / @ermolinis

11/15/2013 at 02:24PM

14
#1024 - Alexandros Giouzenis / @agiouz

11/15/2013 at 10:14PM

14
#1025 - Omar Sandoval / @omsandov

11/16/2013 at 08:55AM

14
#1026 - Daniel Marjenburgh / @dmarjenburgh

11/18/2013 at 07:35AM

14
#1027 - Taku Okawa / @t4ku

11/23/2013 at 01:20PM

14
#1028 - boo / @ijalob

11/26/2013 at 08:59AM

14
#1029 - Oskar Werkelin Ahlin / @osk_wa

12/03/2013 at 11:07PM

14
#1030 - Petra Kritzinger / @PetraKritzinger

12/06/2013 at 02:22PM

14
#1031 - Rémi Labeyrie / @rlabeyrie

12/06/2013 at 03:54PM

14
#1032 - John Gray Cole / @johngraycole

12/07/2013 at 04:01PM

14
#1033 - ichnom / @ichnom

12/10/2013 at 08:22PM

14
#1034 - joe smoe / @joesmoevim

12/11/2013 at 05:50AM

14
#1035 - Vernon Grimshaw / @Vernon_Grimshaw

12/12/2013 at 04:25PM

14
#1036 - Anatoliy C. / @1602

12/13/2013 at 12:27PM

14
#1037 - Rafael Rendon Pablo / @__rendon__

12/13/2013 at 09:42PM

14
#1038 - Bambu / @bambumandinga

12/15/2013 at 07:24AM

14
#1039 - Леха Иванов / @xhoskin

12/15/2013 at 12:02PM

14
#1040 - Joseph Ku / @josephku

12/17/2013 at 11:23AM

14
#1041 - Andreas M.Ø. / @andreasmalling

12/17/2013 at 01:25PM

14
#1042 - Petr Broz / @ipetrbroz

12/17/2013 at 07:23PM

14
#1043 - Methuz / @Methuz

12/19/2013 at 04:53AM

14
#1044 - pikaren / @REALpikaren

12/21/2013 at 06:04AM

14
#1045 - Josh Howe / @joshtch

12/21/2013 at 11:23PM

14
#1046 - Paul Chandler / @chandlpa

12/22/2013 at 05:30AM

14
#1047 - Russ Adams / @rustushki

12/22/2013 at 04:15PM

14
#1048 - Alex Rutkowski / @alexmarie84

12/25/2013 at 09:15PM

14
#1049 - Domingue Justin / @_jdomingue

12/26/2013 at 01:42AM

14
#1050 - Salleyron Julien / @juguul

12/29/2013 at 04:48PM