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

3357 active golfers, 11431 entries

Leaderboard (lowest score wins):
14
#1351 - Corentin Lapeyre / @c_lapeyre

05/03/2015 at 03:36PM

14
#1352 - James Baird / @jlbaird3

05/05/2015 at 01:46PM

14
#1353 - Charles Martin / @instinctive

05/11/2015 at 09:43PM

14
#1354 - ASH: Freedom / @oselskyi

05/16/2015 at 06:33AM

14
#1355 - Personal Life Trackr / @PersLifeTrackr

05/24/2015 at 10:30PM

14
#1356 - Clark DuVall / @theclarkatron

05/28/2015 at 04:57PM

14
#1357 - Jason Spafford / @JasonSpafford

05/28/2015 at 05:39PM

14
#1358 - David Stensland / @DavidStensland

05/28/2015 at 05:51PM

14
#1359 - Marty Boren / @beanmaximalist

06/03/2015 at 03:23AM

14
#1360 - djh / @oneandoneis2

06/10/2015 at 11:16AM

14
#1361 - Omar Abou Mrad / @omaraboumrad

06/19/2015 at 09:15AM

14
#1362 - Lindsay Swift / @_lindsai_

07/05/2015 at 01:23AM

14
#1363 - Paul Schaefer / @schaeferpp

07/06/2015 at 09:28AM

14
#1364 - Louis Burke / @LambdaABeta

07/07/2015 at 06:26PM

14
#1365 - Zsolt Fekete / @feketezsolt

07/10/2015 at 04:34PM

14
#1366 - Jason Schulz / @uxcn_

07/25/2015 at 07:18AM

14
#1367 - Reef / @Sir_Reef

07/26/2015 at 12:43AM

14
#1368 - Peter B / @l0wm4x

08/01/2015 at 07:44PM

14
#1369 - Ferdev vimgolf / @fergvimgolf

08/07/2015 at 11:42PM

14
#1370 - Zak Greant / @zakgreant

08/09/2015 at 10:31AM

14
#1371 - Stefan Countryman / @stcountryman

08/19/2015 at 02:23AM

14
#1372 - Nick Xiao / @nicoster

08/22/2015 at 03:51AM

14
#1373 - Sam B / @samevanbrenner

08/22/2015 at 03:52AM

14
#1374 - randomizer user / @alsdkfhjlkadfha

08/22/2015 at 07:46PM

14
#1375 - Paulo Romeira / @pauloromeira

08/24/2015 at 02:42AM

14
#1376 - Sergey Semushin / @Predelnik

08/24/2015 at 06:24AM

14
#1377 - No way / @korgmademedothi

08/26/2015 at 01:46PM

14
#1378 - Andrew Michaud / @andrewjmichaud

09/04/2015 at 12:05AM

14
#1379 - François Connétable / @fco38

09/05/2015 at 09:24PM

14
#1380 - Nicholas Marrone / @nickmarrone

09/07/2015 at 03:08PM