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

3830 active golfers, 13343 entries

Leaderboard (lowest score wins):
13
#661 - migoo / @migoo00668679

11/05/2021 at 12:33PM

13
#662 - Hermione / @HermioneNSnape

11/10/2021 at 05:43AM

13
#663 - Flimsy Giraffe / @flimsy_giraffe

11/27/2021 at 06:53PM

13
#664 - 정현우 / @butijung

01/17/2022 at 01:53PM

13
#665 - JVIM / @JVIM101

02/22/2022 at 02:18PM

13
#666 - Whirs / @tinywhirs

03/03/2022 at 03:02AM

13
#667 - Pedro Minicz / @pedrominicz

03/26/2022 at 03:20PM

13
#668 - russellzhaomao / @russellzhaomao

05/25/2022 at 01:20AM

13
#669 - Levi Wheeler / @LeviWhe68726437

06/16/2022 at 04:36PM

13
#670 - josh / @_zvjos

06/17/2022 at 11:20AM

13
#671 - Andreas Näsman / @andreas_nasman

06/18/2022 at 09:02AM

13
#672 - Qing Liu / @poeminlash

06/29/2022 at 02:48AM

13
#673 - Buatvimgolf / @buatvimgolf

07/05/2022 at 09:39AM

13
#674 - Alex / @AlexanderHeatl2

07/05/2022 at 05:44PM

13
#675 - Hans Wurscht / @HansW313

08/08/2022 at 12:42PM

13
#676 - vimgolfer220902 / @vimgolfer220902

09/02/2022 at 01:41PM

13
#677 - Janzen / @__Coos

09/15/2022 at 05:59AM

13
#678 - 刘宏亮 / @AkeyCoy

09/24/2022 at 03:52AM

13
#679 - Omar Alawadhi / @OmarAla59544225

10/19/2022 at 10:23PM

13
#680 - Geek Boy / @Geek79

11/07/2022 at 11:24PM

13
#681 - MC / @MC88686523

12/01/2022 at 02:28PM

13
#682 - Kalyan Maddu / @MadduKalyan

12/08/2022 at 03:56PM

13
#683 - ColdBear / @ColdBear11

12/09/2022 at 04:12PM

13
#684 - Zion Park / @zionpark93

12/14/2022 at 12:28PM

13
#685 - Александр Моисеев / @Aleksan43607471

01/19/2023 at 11:39AM

13
#686 - брови ломиком / @dimstunt

01/27/2023 at 07:11PM

13
#687 - Selvaganapathy P / @canabady

04/17/2023 at 01:47PM

13
#688 - coffee-addict / @o0ff3e6ddict

05/19/2023 at 04:49AM

13
#689 - Oisin Ward / @OisinWard_vg

07/05/2023 at 11:38AM

13
#690 - Josh Pius / @JoshPius98

08/25/2023 at 08:13PM