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

2925 active golfers, 10005 entries

Leaderboard (lowest score wins):
13
#151 - Pierre Bertet / @bpierre

07/06/2013 at 09:47PM

13
#152 - Volodymyr / @vkrest

07/08/2013 at 07:47PM

13
#153 - Matt Cook / @mattcook08

07/10/2013 at 08:03PM

13
#154 - eWaves / @GiulioBortot

07/11/2013 at 02:22PM

13
#155 - William Snyders / @iam2391212

07/12/2013 at 11:36PM

13
#156 - Aaron Bieber / @aaronbieber

07/14/2013 at 10:31AM

13
#157 - ———đίxίє—flαтlίиє——— / @_dixie_flatline

07/19/2013 at 07:22PM

13
#158 - Ingo / @ist3fani

07/28/2013 at 11:17AM

13
#159 - scott_royston / @scott_royston

08/01/2013 at 05:21AM

13
#160 - Felix Stridsberg / @FelixStridsberg

08/03/2013 at 12:20PM

13
#161 - Pasha Muravyev / @pashamur

08/04/2013 at 06:19PM

13
#162 - Steven Riehl / @stevenriehl

08/05/2013 at 08:18PM

13
#163 - Maximiliano Padulo / @mpadulo

08/05/2013 at 09:45PM

13
#164 - Armand Halbert / @armandhalbert

08/08/2013 at 04:09PM

13
#165 - joinvimgolf / @joinvimgolf

08/08/2013 at 07:41PM

13
#166 - _ky_ / @ultimate_ky

08/13/2013 at 05:38AM

13
#167 - Andrew / @vimGolfAndrew

08/15/2013 at 04:08PM

13
#168 - Some(coder) / @hauleth

08/15/2013 at 06:32PM

13
#169 - Joe Fox / @mrWumpus

08/17/2013 at 04:47AM

13
#170 - Roman Charushin / @lompee

08/21/2013 at 07:45AM

13
#171 - Jiří Chára / @JiriChara

08/21/2013 at 02:37PM

13
#172 - Chris Webb / @chriswebb_42

08/21/2013 at 10:26PM

13
#173 - Vambo Põldra / @vambop

08/22/2013 at 02:39PM

13
#174 - Maxim / @alfa101

08/25/2013 at 02:55PM

13
#175 - Barry Nichols / @Barry_Nichols

08/26/2013 at 04:57AM

13
#176 - Abdel Said / @abdelsaid

08/27/2013 at 03:49PM

13
#177 - Dan / @dan_winkler

08/28/2013 at 02:37AM

13
#178 - Mihai Crăiță / @mihai_craita

08/29/2013 at 09:04AM

13
#179 - Arthur叔 / @Arthurljg

08/30/2013 at 05:35PM

13
#180 - Rikin Patel / @rikin_patel

08/31/2013 at 11:10AM