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

3418 active golfers, 11657 entries

Leaderboard (lowest score wins):
26
#3001 - Alvaro Melendez / @alvaromelendezh

02/22/2020 at 04:03PM

26
#3002 - Jake Van Alstyne / @jake_va

05/06/2020 at 09:24PM

26
#3003 - Reynald Havard / @rey_ha

06/15/2020 at 11:39PM

26
#3004 - Pranshu Goyal / @PranshuGoyal

01/24/2021 at 08:07AM

26
#3005 - Adam / @Adam75625825

07/04/2021 at 01:32PM

26
#3006 - Kelvin Meyer / @Kelvin_Meyer15

08/06/2021 at 09:17PM

26
#3007 - Babil G. Sarwar / @gsbabil

08/07/2021 at 12:13AM

27
#3008 - Andrey Tarantsov / @andreyvit

12/28/2010 at 10:21PM

27
#3009 - Peter Stuifzand / @pstuifzand

12/29/2010 at 01:33AM

27
#3010 - salax / @salaxcz

12/29/2010 at 08:43PM

27
#3011 - Jim Fiorato / @jfiorato

12/30/2010 at 07:39PM

27
#3012 - Henrik Nyh / @henrik

01/02/2011 at 02:24PM

27
#3013 - Zsolt Botykai / @botykai_zsolt

01/04/2011 at 10:07AM

27
#3014 - ☣Rob Mason☠ / @necr0mancer

01/18/2011 at 12:01PM

27
#3015 - sehe / @23294qyu

03/14/2011 at 01:19AM

27
#3016 - Kenichi TAKAHASHI / @kenchan

04/21/2011 at 04:22AM

27
#3017 - Ilya Strukov / @i1ey

05/01/2011 at 04:20PM

27
#3018 - Nick Klauer / @klauern

05/07/2011 at 04:19AM

27
#3019 - Jeyant Randhawa / @jeyant1987

05/16/2011 at 01:48PM

27
#3020 - Hervo Manuel / @Azema31

05/18/2011 at 06:48PM

27
#3021 - Dave Bradford / @dbradf

06/17/2011 at 11:05PM

27
#3022 - Daniel Harrington / @rubiii

12/10/2011 at 07:33PM

27
#3023 - Steven Sloss / @StevenSloss

02/13/2012 at 02:14AM

27
#3024 - Jeremy Voorhis / @jvoorhis

02/14/2012 at 11:39PM

27
#3025 - Mark Zalar / @ZalarMark

04/24/2012 at 03:13AM

27
#3026 - Rodrigo Ayala / @RodrigoAyala

05/15/2012 at 04:49PM

27
#3027 - Edmundo Martinez / @edmundonm

08/11/2012 at 11:49PM

27
#3028 - Zifei Tong / @chevalun

09/08/2012 at 11:45AM

27
#3029 - Kenneth Waters / @gen_witt

11/13/2012 at 07:24PM

27
#3030 - sathish316 / @sathish316

11/18/2012 at 05:05PM