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

3130 active golfers, 10703 entries

Leaderboard (lowest score wins):
14
#931 - sequel / @sequel25

05/08/2013 at 09:15PM

14
#932 - Sean Harris / @mindloaf

05/11/2013 at 12:40AM

14
#933 - Joe Jackson / @anything_joes

05/12/2013 at 02:22PM

14
#934 - Kathryn / @hartknyx

05/17/2013 at 01:52AM

14
#935 - wushexu / @wushexu

05/20/2013 at 02:04PM

14
#936 - Anh Do / @quanganhdo

06/04/2013 at 05:03AM

14
#937 - deroguerre / @DeroguerreGui

06/05/2013 at 01:16PM

14
#938 - Eric Potter / @pottereric

06/05/2013 at 05:03PM

14
#939 - Matthew James / @Matthew55493344

06/08/2013 at 05:39PM

14
#940 - rcmdnk / @rcmdnk

06/11/2013 at 11:14AM

14
#941 - Clark Rasmussen / @clark_ras

06/23/2013 at 09:46PM

14
#942 - Ryan Castillo / @rmcastil

06/24/2013 at 12:12AM

14
#943 - Adrian Roston / @akroston

06/24/2013 at 05:39AM

14
#944 - Adam Frey / @adam_frey

06/26/2013 at 01:15AM

14
#945 - Grlem / @sgrlem

06/27/2013 at 12:07PM

14
#946 - powertomato / @powertomato

06/27/2013 at 06:39PM

14
#947 - Bogdan Gusiev / @bgusiev

06/28/2013 at 08:16AM

14
#948 - Rasmus P / @rasmup

06/30/2013 at 09:03AM

14
#949 - Paddy Steed / @paddysteed

07/01/2013 at 05:54PM

14
#950 - Julius Pfrommer / @dlctr

07/02/2013 at 04:26PM

14
#951 - Timothée Gauthier / @zmf_tim

07/04/2013 at 11:55AM

14
#952 - Alexey / @kramar42

07/04/2013 at 01:23PM

14
#953 - Thiago Alves / @townk

07/05/2013 at 06:27AM

14
#954 - Andrew Noyes / @seyonwerdna

07/08/2013 at 06:05AM

14
#955 - curist / @curist

07/08/2013 at 09:25AM

14
#956 - Bradd Szonye / @bszonye

07/10/2013 at 01:50AM

14
#957 - Huu Nguyen / @huudev

07/10/2013 at 03:49PM

14
#958 - Eric Alexander / @ericalexander

07/10/2013 at 06:35PM

14
#959 - Christopher Bahr / @bahrware

07/11/2013 at 04:20AM

14
#960 - Luke Walsh / @boyfromkansas

07/11/2013 at 08:51PM