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

3035 active golfers, 10386 entries

Leaderboard (lowest score wins):
62
#3001 - Егор / @DG3GfGxuYOQZgxN

10/23/2018 at 07:35AM

63
#3002 - Levon Lloyd / @levonlloyd

02/04/2011 at 12:58PM

66
#3003 - Sergey Kim / @skim1776

08/04/2011 at 08:59PM

66
#3004 - Theo Andersen Carton / @TheoAndersen

08/08/2018 at 01:09PM

66
#3005 - MGJoe93 / @mgjoe93

03/03/2019 at 06:18AM

66
#3006 - Matthias Kausl / @sig_segv

04/25/2019 at 06:27PM

68
#3007 - Unsouled / @unsouled0

12/30/2010 at 02:54AM

68
#3008 - Christopher Caselas / @chriscaselas

09/12/2013 at 09:02PM

70
#3009 - Ryan O'Donnell / @bt_ryanodonnell

08/08/2014 at 03:53PM

73
#3010 - Jorge Gonzalez / @_J_Gonzalez

09/22/2018 at 07:12AM

74
#3011 - Bren McGuire / @brenquantum

03/11/2012 at 02:41PM

76
#3012 - Yu-Hsuan Li / @Walker_tw

12/21/2011 at 06:59AM

76
#3013 - shiva / @shivaenigma

01/16/2014 at 05:10PM

79
#3014 - Tom / @loadstar8one

01/24/2014 at 04:25AM

80
#3015 - Roland Siegbert / @RsCircus

02/08/2012 at 02:09PM

84
#3016 - matt_white / @matt_white

06/28/2012 at 01:01AM

85
#3017 - Sagar Rakshe / @sagarrakshe2

12/20/2013 at 02:56AM

85
#3018 - Peter Lustig / @germecon

01/29/2014 at 01:25PM

88
#3019 - Brandon Pittman / @brandonpittman

11/20/2013 at 08:43AM

95
#3020 - Anton Bobrov / @a_bobrov

08/08/2013 at 07:38PM

101
#3021 - Felipe Jaramillo F / @mrfelipe

04/01/2014 at 05:56AM

105
#3022 - James / @jamgood96

07/25/2013 at 11:47PM

108
#3023 - Bruno Lara Tavares / @bltavares

05/15/2011 at 04:14AM

110
#3024 - Boris Cosic / @bcosic

12/26/2013 at 11:44PM

112
#3025 - Pamela Ocampo / @pmocampo

07/11/2014 at 12:56AM

115
#3026 - Dan Paulus / @dan_paulus

12/29/2010 at 02:30PM

125
#3027 - chliu / @chliu

12/29/2010 at 06:07AM

129
#3028 - Alex Southgate / @fromagie

04/08/2011 at 12:25AM

147
#3029 - Nathan Bennett / @njbennett95

06/17/2019 at 10:11PM

162
#3030 - markup / @markup123

02/05/2014 at 04:13AM