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
#1231 - Caek / @Caek_

06/27/2014 at 04:40AM

14
#1232 - Jim Jam / @JimJamGillyWam

06/28/2014 at 03:23PM

14
#1233 - Tim Vim / @vim_tim

07/01/2014 at 10:36AM

14
#1234 - liz monfett / @lizmonfett

07/03/2014 at 03:44AM

14
#1235 - kwa / @kwa129

07/04/2014 at 01:09PM

14
#1236 - vimgolfacc / @vimgolfacc

07/05/2014 at 12:20AM

14
#1237 - Vito / @GodFather

07/06/2014 at 05:09AM

14
#1238 - James Scriven / @JamesDScriven

07/06/2014 at 05:58PM

14
#1239 - playalong / @playwithit42

07/07/2014 at 09:44AM

14
#1240 - Michi Loro / @michiloro

07/07/2014 at 10:53AM

14
#1241 - Laura Halla / @laura_halla

07/09/2014 at 01:11AM

14
#1242 - glennphillips / @glennphillips

07/09/2014 at 09:42PM

14
#1243 - b / @bprkrprkr

07/11/2014 at 03:08AM

14
#1244 - mewEwExlad5 / @mewEwExlad5

07/12/2014 at 10:35PM

14
#1245 - Chong Hong / @saberqsx

07/13/2014 at 03:14PM

14
#1246 - RiccardoSven Risuleo / @riccardosven

07/15/2014 at 08:16PM

14
#1247 - Haoxuan Yue / @yuehaoxuanar

07/16/2014 at 04:21PM

14
#1248 - id / @tunguska112

07/27/2014 at 09:14AM

14
#1249 - Marco Biasini / @biasmv

07/27/2014 at 06:21PM

14
#1250 - Paul Axe / @Paul_Axe

07/29/2014 at 12:06PM

14
#1251 - Cameron Christensen / @csc89d

08/01/2014 at 03:05PM

14
#1252 - Ky Statham / @ijustwannacode

08/08/2014 at 05:43PM

14
#1253 - Phil Dubach / @fuiru

08/13/2014 at 06:33AM

14
#1254 - Pepe / @GomTvIneluki

08/15/2014 at 10:23PM

14
#1255 - booom / @ateukme

08/18/2014 at 09:52PM

14
#1256 - basha / @bashaalex

08/19/2014 at 07:48AM

14
#1257 - April Gentle / @chen327684096

08/27/2014 at 12:26PM

14
#1258 - Phil Runninger / @PhilRunninger

08/29/2014 at 02:51PM

14
#1259 - Vim Golfer / @golfing_vim

09/04/2014 at 08:14PM

14
#1260 - Kristof Vannotten / @kristofv

09/08/2014 at 10:39AM