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

2965 active golfers, 10126 entries

Leaderboard (lowest score wins):
13
#271 - Markus Kasper / @KasperBox

05/22/2014 at 12:51PM

13
#272 - Steffen Siering / @ursobln

06/02/2014 at 09:45PM

13
#273 - Alex Tercete / @alextercete

06/03/2014 at 03:44AM

13
#274 - Charlene Tshos / @charlymul

06/03/2014 at 10:22AM

13
#275 - Robert Bruce / @therealrobru

06/10/2014 at 05:09AM

13
#276 - Jonathan Paulson / @PaulsonJonathan

06/15/2014 at 01:59AM

13
#277 - Chase Lambert / @chasediscs

06/15/2014 at 10:14PM

13
#278 - Bart / @oneofmanybarts

06/16/2014 at 07:54AM

13
#279 - Edric Garran / @edric_garran

06/17/2014 at 10:03PM

13
#280 - Timothy Chong / @timothychongg

06/20/2014 at 07:09PM

13
#281 - Eric Lau / @elau89

06/21/2014 at 10:03PM

13
#282 - Alexey Permyakov / @aplexey

06/22/2014 at 02:34PM

13
#283 - John Meisner / @jmeisned

06/24/2014 at 05:02PM

13
#284 - jackliusr / @jackliusr

06/28/2014 at 12:54PM

13
#285 - Kelsey Ando / @d_chan42

07/04/2014 at 04:09AM

13
#286 - Lasse Dalegaard / @ldalegaard

07/06/2014 at 10:21PM

13
#287 - Thomas Lacroix / @ThomasLacroix

07/09/2014 at 07:44PM

13
#288 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:31PM

13
#289 - Rafee / @rafee_buet

07/19/2014 at 06:28PM

13
#290 - Slartibartfast / @S_Bartfast

07/29/2014 at 09:08AM

13
#291 - madka / @lachrimae_pavan

08/03/2014 at 07:03PM

13
#292 - jabular / @jabular

08/15/2014 at 05:03PM

13
#293 - Bill Booth / @ohiopyle

08/20/2014 at 02:29AM

13
#294 - Thijs Baksteen / @thijsel

08/22/2014 at 02:32PM

13
#295 - Giovanni Garufi / @garufi_giovanni

09/13/2014 at 09:46PM

13
#296 - Johannes H. / @neVexa

09/19/2014 at 09:52PM

13
#297 - Pierre Stévens / @pierre_stv

10/02/2014 at 10:42AM

13
#298 - Daniel Pham / @dany_pham

10/12/2014 at 02:27AM

13
#299 - aborilov / @aborilov

10/15/2014 at 10:15AM

13
#300 - @sndsgns / @sndsgns

10/24/2014 at 02:32AM