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

2967 active golfers, 10134 entries

Leaderboard (lowest score wins):
53
#2911 - Ewan Z / @ewancoder

02/03/2014 at 06:42AM

53
#2912 - Mohd Faiz Hasim / @faizhasim

03/06/2015 at 04:41AM

53
#2913 - Robert Xu / @RobertX97592288

11/29/2018 at 01:26AM

54
#2914 - Casey Howard / @caseyhoward

04/07/2011 at 01:13AM

54
#2915 - Yuriy Senko / @Chaka_bum

12/23/2013 at 09:44AM

54
#2916 - cdrinion / @cdrinion

09/25/2016 at 03:00PM

54
#2917 - Gluka / @Gluka__

12/31/2018 at 11:02AM

55
#2918 - Thomas Wood / @Edgemaster

12/13/2011 at 11:49PM

55
#2919 - Jamie / @jamiebikies

11/21/2012 at 03:04AM

55
#2920 - Василий Горбаченко / @ShdwPrince

09/01/2014 at 02:18PM

57
#2921 - Suhas V / @vhasus

04/15/2013 at 11:38AM

57
#2922 - Jimmy McRascal / @JimmyMcRascal

07/08/2014 at 04:30AM

57
#2923 - Nicholas Narh / @neekonarh

09/03/2014 at 12:25AM

57
#2924 - Duncan Marsh / @dwolfm

05/07/2015 at 09:38PM

57
#2925 - Oskari Saari / @shredu92

09/02/2016 at 02:14PM

58
#2926 - Nick Induni / @NickInduni

11/29/2018 at 01:40AM

59
#2927 - Formally Dallin / @FormallyDallin

03/23/2015 at 06:13PM

60
#2928 - Jack Michalak / @Basketballler77

12/31/2010 at 09:19PM

60
#2929 - Xerxes Battiwalla / @xerxesb

09/09/2011 at 06:02AM

61
#2930 - Nicola Coretti / @NiCoRetti

01/11/2014 at 03:54PM

62
#2931 - Federico Pistono / @FedericoPistono

12/29/2010 at 12:17AM

62
#2932 - Andy Waite / @andyw8

11/19/2013 at 01:26PM

62
#2933 - prateek agarwal / @prat0318

02/21/2014 at 08:50PM

62
#2934 - Niranjan S / @niranjan8192

05/30/2017 at 08:28PM

62
#2935 - Егор / @DG3GfGxuYOQZgxN

10/23/2018 at 07:35AM

63
#2936 - Levon Lloyd / @levonlloyd

02/04/2011 at 12:58PM

66
#2937 - Sergey Kim / @skim1776

08/04/2011 at 08:59PM

66
#2938 - Theo Andersen Carton / @TheoAndersen

08/08/2018 at 01:09PM

66
#2939 - MGJoe93 / @mgjoe93

03/03/2019 at 06:18AM

68
#2940 - Unsouled / @unsouled0

12/30/2010 at 02:54AM