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

3849 active golfers, 13427 entries

Leaderboard (lowest score wins):
14
#1081 - Balazs Nadasdi / @yitsushi

04/16/2013 at 02:35PM

14
#1082 - Kuldeep Bora / @kuldeep_bora

04/17/2013 at 06:32AM

14
#1083 - David Hoeffer / @dhoeffer

04/24/2013 at 12:46PM

14
#1084 - Raji Krish / @rajitopper

04/24/2013 at 05:56PM

14
#1085 - Scott Myц / @ScottMuc

04/25/2013 at 06:03AM

14
#1086 - sundeepblue / @sundeepblue

04/25/2013 at 03:18PM

14
#1087 - Paul Kunysch / @kunysch

04/28/2013 at 02:58PM

14
#1088 - Bitt Faulk / @bittfaulk

04/28/2013 at 09:03PM

14
#1089 - wesdeboer / @wesdeboer

05/03/2013 at 04:10AM

14
#1090 - sequel / @sequel25

05/08/2013 at 09:15PM

14
#1091 - Sean Harris / @mindloaf

05/11/2013 at 12:40AM

14
#1092 - Joe Jackson / @anything_joes

05/12/2013 at 02:22PM

14
#1093 - Kathryn / @hartknyx

05/17/2013 at 01:52AM

14
#1094 - 张文远 / @zhwenyuan

05/20/2013 at 02:04PM

14
#1095 - Anh Do / @quanganhdo

06/04/2013 at 05:03AM

14
#1096 - deroguerre / @DeroguerreGui

06/05/2013 at 01:16PM

14
#1097 - Eric Potter / @pottereric

06/05/2013 at 05:03PM

14
#1098 - Matthew James / @Matthew55493344

06/08/2013 at 05:39PM

14
#1099 - rcmdnk / @rcmdnk

06/11/2013 at 11:14AM

14
#1100 - Clark Rasmussen / @clark_ras

06/23/2013 at 09:46PM

14
#1101 - Ryan Castillo / @rmcastil

06/24/2013 at 12:12AM

14
#1102 - Adrian Roston / @akroston

06/24/2013 at 05:39AM

14
#1103 - Adam Frey / @adam_frey

06/26/2013 at 01:15AM

14
#1104 - Grlem / @sgrlem

06/27/2013 at 12:07PM

14
#1105 - powertomato / @powertomato

06/27/2013 at 06:39PM

14
#1106 - Bogdan Gusiev / @bgusiev

06/28/2013 at 08:16AM

14
#1107 - Rasmus P / @rasmup

06/30/2013 at 09:03AM

14
#1108 - Paddy Steed / @paddysteed

07/01/2013 at 05:54PM

14
#1109 - Julius Pfrommer / @dlctr

07/02/2013 at 04:26PM

14
#1110 - zmf_tim / @zmf_tim

07/04/2013 at 11:55AM