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 50be61aea748a30002000047

abcd > a b c d

transform the single spaces into 4 spaces repeat for each line

Start 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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

diff --git a/abin.txt b/about.txt
index d1b2694..78d4fdd 100644
--- a/abin.txt
+++ b/about.txt
@@ -1,26 +1,26 @@
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 143 remaining solutions by signing in and submitting your own entry
#144 Johannes H. / neVexa - Score: 15 - 10/30/14 @ 13:13
Q%s/ /&&&&/g|x<CR>

0 comments


#145 Matt Robbins / mcrmfc - Score: 15 - 11/14/14 @ 23:35
:%s/ /    /g<CR>ZZ

0 comments


#146 Mauro Persano / fzort - Score: 15 - 11/16/14 @ 11:48
:%s/ /    /g<CR>ZZ

0 comments


#147 devos victor / victordevos - Score: 15 - 11/16/14 @ 19:44
:%s/ /    /g<CR>ZZ

0 comments


#148 david hu / chin33z - Score: 15 - 12/20/14 @ 04:50
:%s/ /    /g<CR>ZZ

0 comments


#149 r. / rmarvie - Score: 15 - 12/22/14 @ 17:12
:%s/ /    /g<CR>ZZ

0 comments


#150 someoddpilot.dev / someoddpilotdev - Score: 15 - 02/24/15 @ 18:42
:%s/ /    /g<CR>ZZ

0 comments


#151 William Ott / oddalot - Score: 15 - 04/14/15 @ 15:56
:%s/ /    /g<CR>ZZ

0 comments


#152 Dan Moldovan / Lenea92 - Score: 15 - 08/25/15 @ 08:06
:%s/ /    /g<CR>ZZ

0 comments


#153 Lifepillar / lifepillar - Score: 15 - 09/23/15 @ 17:54
qq 3a <Esc>w@qq@qZZ

0 comments


#154 ltn614 / ltn614 - Score: 15 - 09/30/15 @ 12:44
:%s/ /    /g|x<CR>

0 comments


#155 Jon Krause / jkrause314 - Score: 15 - 10/18/15 @ 04:53
:%s/ /    /g|x<CR>

0 comments


#156 Sid Momin / mominsid - Score: 15 - 11/04/15 @ 21:45
:%s/ /    /g<CR>ZZ

0 comments


#157 Robert Goeddel / f0rdpr3fect - Score: 15 - 11/13/15 @ 19:32
:%s/ /    /g<CR>ZZ

0 comments


#158 Walker Boh / walker_boh - Score: 15 - 12/15/15 @ 08:41
:%s/ /    /g<CR>ZZ

0 comments


#159 Mister Knister / vimgolf_ctrl_x - Score: 15 - 03/03/16 @ 07:02
:%s/ /    /g<CR>ZZ

0 comments


#160 Edan Sneh / edan_sneh - Score: 15 - 05/26/16 @ 18:13
:%s/ /    /g<CR>ZZ

0 comments


#161 Oskar / oskar283 - Score: 15 - 09/26/16 @ 18:34
:%s/ /    /g<CR>ZZ

0 comments


#162 squdle / squdle - Score: 15 - 06/17/17 @ 08:05
:%s/ /    /g<CR>ZZ

0 comments


#163 Ben Hill / KaizenSoze70 - Score: 15 - 07/07/17 @ 14:57
:%s/ /    /g<CR>ZZ

0 comments


#164 Gurukandhamoorthi / Gurukandhamoor1 - Score: 15 - 08/20/17 @ 14:48
:%s/ /    /g<CR>ZZ

0 comments


#165 Turkey Man / lvturkeyman - Score: 15 - 12/02/17 @ 03:52
:%s/ /    /g<CR>ZZ

0 comments


#166 Austin Ware / AustinWare17 - Score: 15 - 03/13/18 @ 04:47
:%s/ /    /g<CR>ZZ

0 comments


#167 Clemens Siebler / clemens_siebler - Score: 16 - 02/01/14 @ 23:21
:%s/ /    /g<CR>:x<CR>

0 comments


#168 Justin Knag / justinknag - Score: 16 - 10/10/14 @ 06:11
%:%s/ /    /g<CR>ZZ

0 comments


#169 Lieven Keersmaekers / LievenKeersmaek - Score: 17 - 12/05/12 @ 19:58
650@='3a <C-V><Esc>w '<CR>ZZ

0 comments


#170 Arun / UArunKumar - Score: 17 - 12/08/12 @ 03:30
/ <CR>:%s//    /g<CR>ZZ

0 comments


#171 indero / indero - Score: 17 - 01/06/13 @ 15:49
:%s/ /    /g<CR>:wq<CR>

0 comments


#172 Rodolphe Blancho / rblancho - Score: 17 - 08/31/13 @ 17:26
:%s/ /    /g<CR>:wq<CR>

0 comments


#173 Jones / Libidijones - Score: 17 - 04/19/14 @ 16:22
:%s/ /    /g<CR>:wq<CR>

0 comments


#174 Pradeep Kumar / pradeep6kumar - Score: 18 - 12/10/12 @ 11:57
:%s/\s/    /g<CR>:wq<CR>

0 comments


#175 Guillaume Espanel / llaummeggui - Score: 19 - 12/06/12 @ 11:24
:%s/ /    /g<CR>:w<CR>:q<CR>

0 comments


#176 jDeveloper / jDevEE - Score: 20 - 12/04/12 @ 21:26
qaw<C-V>26jI   <Esc>wq24@aZZ

0 comments


#177 infinitekh / infinitekh - Score: 22 - 12/11/12 @ 16:26
/<CR><CR>/<CR><CR>:%s/ /    /g<CR><Esc>ZZ

0 comments


#178 NuM / NuM314 - Score: 23 - 10/05/13 @ 23:54
jd}qaa   <Esc>wq24@ayy25pZZ

0 comments


#179 Florian Guilbert / flgy - Score: 27 - 12/30/12 @ 13:10
qq3a <Esc>wq24@qqaj025@qq24@aZZ

0 comments


Created by: DiffJunk

179 active golfers, 229 entries

Leaderboard (lowest score wins):
15
#1 - Marcin Sza / coot_

12/04/2012 at 09:35PM

15
#2 - Johnny Hoang / JohnnyHoang

12/04/2012 at 09:47PM

15
#3 - Adelar S. Queiróz / adelarsq

12/04/2012 at 09:50PM

15
#4 - joe di castro / joe_di_castro

12/04/2012 at 09:58PM

15
#5 - BJ Neilsen / localshred

12/04/2012 at 10:21PM

15
#6 - Tim Chase / gumnos

12/04/2012 at 10:40PM

15
#7 - Joseph J. Piché / jjpiche

12/04/2012 at 10:42PM

15
#8 - Ravi S Sinha / ambidextrousTx

12/04/2012 at 11:05PM

15
#9 - Urtica dioica / udioica

12/04/2012 at 11:23PM

15
#10 - h_east (トロッコ6個) / h_east

12/04/2012 at 11:58PM

15
#11 - Jordan Eldredge / captbaritone

12/05/2012 at 12:33AM

15
#12 - Conner McDaniel / connermcd

12/05/2012 at 01:13AM

15
#13 - Kerson Hsiao / KersonHsiao

12/05/2012 at 01:18AM

15
#14 - DR / dde81

12/05/2012 at 02:31AM

15
#15 - Trevor Powell / DoomedBunnies

12/05/2012 at 06:19AM

15
#16 - Pawel Obrok / mrYapee

12/05/2012 at 07:31AM

15
#17 - Max Sherman / johnislarry

12/05/2012 at 09:12AM

15
#18 - Mikhail / styx_mp

12/05/2012 at 06:43PM

15
#19 - Casey Robinson / rampant_monkey

12/05/2012 at 08:58PM

15
#20 - Jining Huang / BinaryReader

12/05/2012 at 09:57PM

15
#21 - Olivier Huber / xhub

12/05/2012 at 10:39PM

15
#22 - Praful Mathur / dasickis

12/06/2012 at 03:09AM

15
#23 - Kohei Ito / kohe

12/06/2012 at 05:11AM

15
#24 - Rolf Bjaanes / rolfb

12/06/2012 at 08:52AM

15
#25 - František Hartman / frant_hartm

12/06/2012 at 10:45AM

15
#26 - Fred Nias / frednias

12/06/2012 at 12:47PM

15
#27 - a24f0600 / a24f0600

12/06/2012 at 02:33PM

15
#28 - Chris Maguire / chriswmaguire

12/06/2012 at 03:54PM

15
#29 - Brian Stolz / tecnobrat

12/06/2012 at 04:34PM

15
#30 - Johan Viklund / johanviklund

12/07/2012 at 04:01PM