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 4d1db1b8de2f897c2a00014a

Reverse Simple Deletion

You did the simple deletion, now reverse it.

Start file
abcdefghijklmnopqrstuvwxyz
End file
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z

View Diff

1c1,26
< abcdefghijklmnopqrstuvwxyz
---
> a
> b
> c
> d
> e
> f
> g
> h
> i
> j
> k
> l
> m
> n
> o
> p
> q
> r
> s
> t
> u
> v
> w
> x
> y
> z

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 458 remaining solutions by signing in and submitting your own entry
#459 khebbie / @khebbie - Score: 109 - 12/31/10 @ 13:25
i<Right><CR><Esc>.u<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Esc>:wq<CR>

0 comments


Created by: @Ujjwol

459 active golfers, 850 entries

Leaderboard (lowest score wins):
15
#421 - Sam Rose / @samwhoo

08/27/2013 at 07:45PM

15
#422 - João Paiva / @jgpaiva

02/03/2014 at 07:22PM

15
#423 - Kamil Krzyżanowski / @kamnxt

03/14/2014 at 05:35PM

15
#424 - Skúli Jóhannsson / @skulibj

06/28/2015 at 09:23PM

15
#425 - editor3D / @editor3D

11/13/2018 at 05:24PM

15
#426 - Thomas Hiron / @thomashiron

02/23/2023 at 02:09PM

15
#427 - moh ayaya / @AyayaMoh

03/02/2024 at 08:33PM

16
#428 - Kris Jenkins / @krisajenkins

12/31/2010 at 11:11AM

16
#429 - Thomas Kho / @tkho

12/31/2010 at 03:13PM

16
#430 - Lee Marlow / @lmarlow

12/31/2010 at 06:39PM

16
#431 - Kurinniy Alexander / @kurinniy

01/21/2011 at 10:44AM

16
#432 - mightyfoo / @mightyfoo

05/26/2011 at 04:36PM

16
#433 - ovo / @prokrastinatsia

08/12/2012 at 01:16AM

16
#434 - Runar / @runarfu

01/11/2013 at 08:42AM

16
#435 - Maxime / @Maxime_VII

08/04/2015 at 09:00AM

16
#436 - ltn614 / @ltn614

09/24/2015 at 06:52AM

16
#437 - Daniel / @Daniel00288663

03/31/2017 at 01:44PM

16
#438 - Brent Woo / @BrentPWoo

10/02/2018 at 06:18PM

17
#439 - Viswanath Sivakumar / @viswanathgs

08/26/2012 at 11:57PM

17
#440 - Justin Knag / @justinknag

08/28/2014 at 04:10PM

17
#441 - OlivierLi / @LiZhongSin

11/16/2016 at 01:11AM

19
#442 - Mattiassich Ákos / @mattiassicha

12/31/2010 at 12:38PM

20
#443 - Clive Evans / @swish_bob

12/31/2010 at 11:26AM

20
#444 - solsTiCe d'Hiver / @solstice_dhiver

01/02/2011 at 12:22AM

20
#445 - nickGPT / @nickandbro

08/28/2024 at 11:35PM

21
#446 - Petr Blaho / @petrblaho

12/31/2010 at 11:44AM

21
#447 - Eivind Jahren / @HaskellElephant

01/14/2011 at 08:35PM

21
#448 - yokibahim / @yokibahim

10/21/2019 at 07:05PM

22
#449 - Yannick LM / @yanicklm

12/31/2010 at 01:57PM

22
#450 - JustForGiggles / @NeedOneForNow

03/19/2023 at 03:26AM