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):
23
#451 - fdsfasdf / @fdsfasdf1

12/12/2011 at 10:52PM

23
#452 - Hans Wurscht / @HansW313

11/17/2022 at 10:06PM

24
#453 - Christian Neeb / @chneeb

12/31/2010 at 01:05PM

26
#454 - Timo Mihaljov / @noidi

09/28/2018 at 06:22PM

29
#455 - David E Smith / @david3smith

12/31/2010 at 07:37PM

29
#456 - Hamey / @unknownHamX

01/26/2023 at 05:37PM

32
#457 - Vimgolf Lucas / @vimgolf_lucas

07/26/2015 at 05:55AM

38
#458 - Bjørn Fotland / @bfotland

12/31/2010 at 02:08PM

109
#459 - khebbie / @khebbie

12/31/2010 at 01:25PM