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 9v00663ab20e000000000270

Mirror image

Add the second eye

Start file
                                     .....''',;:;,,,,,,,'...                                   
                              ..,;;,,;,,:c;,,':o:,'';;:l:;;;;;:,'...  .                        
                        ..';;::;,::.. .. ..   .''.  .'',.  .',:;,;c:';,.                       
                   ..':lol:;'',.  ',.  '..',......  .,,,'. .'',. .,''cc',..                    
                ...,clc:;,..  .'...,,'..;'.;;..,....,::cc. ',,'  .,..:'.::,'...                
               ..,;::.. .',... .:,,,,;cc;:;:ddcc;',;clckd..;;;' .:'.;:.''..';,...              
             .,;,'...,'..,;:;;;',ccclodkkdoodxxddoodxddOklll:l:,lc'cc.,c.   .;lc,...           
           .,;;,,'...',;;;;:lcoxdxxddxkkkkOOO0000KKKKKKKK00Oxkkxxooc,;c,..  ...:lc:'..         
         .,;;,,',:::;::ccc:clxOkO0Okkk0NMMMMMMMMMMMMMMMMMMWWNNXK0kdodo,.;;''. .',;:::,..       
       .;,,'..;:;;clooddkkxxxkkxxxoc:xXNNNWWWWWMWWMWWWWWWWMMMMMMNOxkko:ldc;'.','.'',;:;'.      
      .....,;,';;;:cldkxodxdol;'..  :KNXKklcoOKKxdkkKWWNNNXXNWWMWx,,loddlc;'',,;'';:,'''..     
    .....',,;:ccccdkxoolloc'.      .kNX0xccoook0xdl;xNWWKKKKXXNWMK,   .:lc;.';;'.',,.......    
  ..',,',;:cclodkxdl::lc,.         cNNK0OOXWWXXWWMMWWMMWOx0XXKXWMWo      ','...'...... ....    
 ';,'',::c::loool;.;c,.            oNK0OkOXWNXNMMMMMMMMMWNX0O0KNWMd        .'.... ..           
 ..'',,,,,''......;c.              cKK00OOKWNXNMMMMMMMMMWNKkdkKNWWo          .....             
      .......   ..':.              '0XOkkk0KXNNNWWWWMWWWNKkxk0XWWK,              .....         
       ...';:;'.  ..'.              cK0kkkOxkKXXXNNXNNXOOOkO00XWXc                .'..''..     
       .  .,;::;,,.  .....           cO0OkxooxkkkkkxkkxdxOxxKNN0:                 ..    ....   
             .;ccoc,.   .'''.         'okkxddxxdxxddxdlcokxkXKd.                .         .'.  
           ..',;;;:cc::,.  .''.'....    .;ccoolcoxocoo:;lxxdc.         ........',,'''''''...   
           .. ......,;clc:,'................''''''''',,''................    ............      
                   ..',',;;;,,,,'',.  .................'''''''...                              
                        .....;,;::cc:c:;;;:;,'.',,';;;:;col;;l,.                               
                            ......;,;c,'ldl:::::::';c,,;oo'.''.                                
                                  . ....:l,,c;':;'..'. .,.                                     
                                        ..  .. .                                               
End file
                                     .....''',;:;,,,,,,,'...                                                                      ...',,,,,,,;:;,'''.....                                     
                              ..,;;,,;,,:c;,,':o:,'';;:l:;;;;;:,'...  .                                                .  ...',:;;;;;:l:;;'',:o:',,;c:,,;,,;;,..                              
                        ..';;::;,::.. .. ..   .''.  .'',.  .',:;,;c:';,.                                              .,;':c;,;:,'.  .,''.  .''.   .. .. ..::,;::;;'..                        
                   ..':lol:;'',.  ',.  '..',......  .,,,'. .'',. .,''cc',..                                        ..,'cc'',. .,''. .',,,.  ......,'..'  .,'  .,'';:lol:'..                   
                ...,clc:;,..  .'...,,'..;'.;;..,....,::cc. ',,'  .,..:'.::,'...                                ...',::.':..,.  ',,' .cc::,....,..;;.';..',,...'.  ..,;:clc,...                
               ..,;::.. .',... .:,,,,;cc;:;:ddcc;',;clckd..;;;' .:'.;:.''..';,...                            ...,;'..''.:;.':. ';;;..dkclc;,';ccdd:;:;cc;,,,,:. ...,'. ..::;,..               
             .,;,'...,'..,;:;;;',ccclodkkdoodxxddoodxddOklll:l:,lc'cc.,c.   .;lc,...                      ...,cl;.   .c,.cc'cl,:l:lllkOddxdooddxxdoodkkdolccc,';;;:;,..',...',;,.             
           .,;;,,'...',;;;;:lcoxdxxddxkkkkOOO0000KKKKKKKK00Oxkkxxooc,;c,..  ...:lc:'..                  ..':cl:...  ..,c;,cooxxkkxO00KKKKKKKK0000OOOkkkkxddxxdxocl:;;;;,'...',,;;,.           
         .,;;,,',:::;::ccc:clxOkO0Okkk0NMMMMMMMMMMMMMMMMMMWWNNXK0kdodo,.;;''. .',;:::,..              ..,:::;,'. .'';;.,ododk0KXNNWWMMMMMMMMMMMMMMMMMMN0kkkO0OkOxlc:ccc::;:::,',,;;,.         
       .;,,'..;:;;clooddkkxxxkkxxxoc:xXNNNWWWWWMWWMWWWWWWWMMMMMMNOxkko:ldc;'.','.'',;:;'.            .';:;,''.','.';cdl:okkxONMMMMMMWWWWWWWMWWMWWWWWNNNXx:coxxxkkxxxkkddoolc;;:;..',,;.       
      .....,;,';;;:cldkxodxdol;'..  :KNXKklcoOKKxdkkKWWNNNXXNWWMWx,,loddlc;'',,;'';:,'''..          ..''',:;'';,,'';clddol,,xWMWWNXXNNNWWKkkdxKKOoclkKXNK:  ..';lodxdoxkdlc:;;;',;,.....      
    .....',,;:ccccdkxoolloc'.      .kNX0xccoook0xdl;xNWWKKKKXXNWMK,   .:lc;.';;'.',,.......        .......,,'.';;'.;cl:.   ,KMWNXXKKKKWWNx;ldx0koooccx0XNk.      .'collooxkdcccc:;,,'.....    
  ..',,',;:cclodkxdl::lc,.         cNNK0OOXWWXXWWMMWWMMWOx0XXKXWMWo      ','...'...... ....        .... ......'...','      oWMWXKXX0xOWMMWWMMWWXXWWXOO0KNNc         .,cl::ldxkdolcc:;,',,'..  
 ';,'',::c::loool;.;c,.            oNK0OkOXWNXNMMMMMMMMMWNX0O0KNWMd        .'.... ..                      .. ....'.        dMWNK0O0XNWMMMMMMMMMNXNWXOkO0KNo            .,c;.;loool::c::,'',;' 
 ..'',,,,,''......;c.              cKK00OOKWNXNMMMMMMMMMWNKkdkKNWWo          .....                          .....          oWWNKkdkKNWMMMMMMMMMNXNWKOO00KKc              .c;......'',,,,,''.. 
      .......   ..':.              '0XOkkk0KXNNNWWWWMWWWNKkxk0XWWK,              .....                  .....              ,KWWX0kxkKNWWWMWWWWNNNXK0kkkOX0'              .:'..   .......      
       ...';:;'.  ..'.              cK0kkkOxkKXXXNNXNNXOOOkO00XWXc                .'..''..          ..''..'.                cXWX00OkOOOXNNXNNXXXKkxOkkk0Kc              .'..  .';:;'...       
       .  .,;::;,,.  .....           cO0OkxooxkkkkkxkkxdxOxxKNN0:                 ..    ....      ....    ..                 :0NNKxxOxdxkkxkkkkkxooxkO0Oc           .....  .,,;::;,.  .       
             .;ccoc,.   .'''.         'okkxddxxdxxddxdlcokxkXKd.                .         .'.    .'.         .                .dKXkxkocldxddxxdxxddxkko'         .'''.   .,cocc;.             
           ..',;;;:cc::,.  .''.'....    .;ccoolcoxocoo:;lxxdc.         ........',,'''''''...      ...''''''',,'........         .cdxxl;:oocoxocloocc;.    ....'.''.  .,::cc:;;;,'..           
           .. ......,;clc:,'................''''''''',,''................    ............            ............    ................'',,'''''''''................',:clc;,...... ..           
                   ..',',;;;,,,,'',.  .................'''''''...                                                            ...'''''''.................  .,'',,,,;;;,','..                   
                        .....;,;::cc:c:;;;:;,'.',,';;;:;col;;l,.                                                              .,l;;loc;:;;;',,'.',;:;;;:c:cc::;,;.....                        
                            ......;,;c,'ldl:::::::';c,,;oo'.''.                                                                .''.'oo;,,c;':::::::ldl',c;,;......                            
                                  . ....:l,,c;':;'..'. .,.                                                                          .,. .'..';:';c,,l:.... .                                  
                                        ..  .. .                                                                                              . ..  ..                                        

View Diff

1,26c1,26
<                                      .....''',;:;,,,,,,,'...                                   
<                               ..,;;,,;,,:c;,,':o:,'';;:l:;;;;;:,'...  .                        
<                         ..';;::;,::.. .. ..   .''.  .'',.  .',:;,;c:';,.                       
<                    ..':lol:;'',.  ',.  '..',......  .,,,'. .'',. .,''cc',..                    
<                 ...,clc:;,..  .'...,,'..;'.;;..,....,::cc. ',,'  .,..:'.::,'...                
<                ..,;::.. .',... .:,,,,;cc;:;:ddcc;',;clckd..;;;' .:'.;:.''..';,...              
<              .,;,'...,'..,;:;;;',ccclodkkdoodxxddoodxddOklll:l:,lc'cc.,c.   .;lc,...           
<            .,;;,,'...',;;;;:lcoxdxxddxkkkkOOO0000KKKKKKKK00Oxkkxxooc,;c,..  ...:lc:'..         
<          .,;;,,',:::;::ccc:clxOkO0Okkk0NMMMMMMMMMMMMMMMMMMWWNNXK0kdodo,.;;''. .',;:::,..       
<        .;,,'..;:;;clooddkkxxxkkxxxoc:xXNNNWWWWWMWWMWWWWWWWMMMMMMNOxkko:ldc;'.','.'',;:;'.      
<       .....,;,';;;:cldkxodxdol;'..  :KNXKklcoOKKxdkkKWWNNNXXNWWMWx,,loddlc;'',,;'';:,'''..     
<     .....',,;:ccccdkxoolloc'.      .kNX0xccoook0xdl;xNWWKKKKXXNWMK,   .:lc;.';;'.',,.......    
<   ..',,',;:cclodkxdl::lc,.         cNNK0OOXWWXXWWMMWWMMWOx0XXKXWMWo      ','...'...... ....    
<  ';,'',::c::loool;.;c,.            oNK0OkOXWNXNMMMMMMMMMWNX0O0KNWMd        .'.... ..           
<  ..'',,,,,''......;c.              cKK00OOKWNXNMMMMMMMMMWNKkdkKNWWo          .....             
<       .......   ..':.              '0XOkkk0KXNNNWWWWMWWWNKkxk0XWWK,              .....         
<        ...';:;'.  ..'.              cK0kkkOxkKXXXNNXNNXOOOkO00XWXc                .'..''..     
<        .  .,;::;,,.  .....           cO0OkxooxkkkkkxkkxdxOxxKNN0:                 ..    ....   
<              .;ccoc,.   .'''.         'okkxddxxdxxddxdlcokxkXKd.                .         .'.  
<            ..',;;;:cc::,.  .''.'....    .;ccoolcoxocoo:;lxxdc.         ........',,'''''''...   
<            .. ......,;clc:,'................''''''''',,''................    ............      
<                    ..',',;;;,,,,'',.  .................'''''''...                              
<                         .....;,;::cc:c:;;;:;,'.',,';;;:;col;;l,.                               
<                             ......;,;c,'ldl:::::::';c,,;oo'.''.                                
<                                   . ....:l,,c;':;'..'. .,.                                     
<                                         ..  .. .                                               
---
>                                      .....''',;:;,,,,,,,'...                                                                      ...',,,,,,,;:;,'''.....                                     
>                               ..,;;,,;,,:c;,,':o:,'';;:l:;;;;;:,'...  .                                                .  ...',:;;;;;:l:;;'',:o:',,;c:,,;,,;;,..                              
>                         ..';;::;,::.. .. ..   .''.  .'',.  .',:;,;c:';,.                                              .,;':c;,;:,'.  .,''.  .''.   .. .. ..::,;::;;'..                        
>                    ..':lol:;'',.  ',.  '..',......  .,,,'. .'',. .,''cc',..                                        ..,'cc'',. .,''. .',,,.  ......,'..'  .,'  .,'';:lol:'..                   
>                 ...,clc:;,..  .'...,,'..;'.;;..,....,::cc. ',,'  .,..:'.::,'...                                ...',::.':..,.  ',,' .cc::,....,..;;.';..',,...'.  ..,;:clc,...                
>                ..,;::.. .',... .:,,,,;cc;:;:ddcc;',;clckd..;;;' .:'.;:.''..';,...                            ...,;'..''.:;.':. ';;;..dkclc;,';ccdd:;:;cc;,,,,:. ...,'. ..::;,..               
>              .,;,'...,'..,;:;;;',ccclodkkdoodxxddoodxddOklll:l:,lc'cc.,c.   .;lc,...                      ...,cl;.   .c,.cc'cl,:l:lllkOddxdooddxxdoodkkdolccc,';;;:;,..',...',;,.             
>            .,;;,,'...',;;;;:lcoxdxxddxkkkkOOO0000KKKKKKKK00Oxkkxxooc,;c,..  ...:lc:'..                  ..':cl:...  ..,c;,cooxxkkxO00KKKKKKKK0000OOOkkkkxddxxdxocl:;;;;,'...',,;;,.           
>          .,;;,,',:::;::ccc:clxOkO0Okkk0NMMMMMMMMMMMMMMMMMMWWNNXK0kdodo,.;;''. .',;:::,..              ..,:::;,'. .'';;.,ododk0KXNNWWMMMMMMMMMMMMMMMMMMN0kkkO0OkOxlc:ccc::;:::,',,;;,.         
>        .;,,'..;:;;clooddkkxxxkkxxxoc:xXNNNWWWWWMWWMWWWWWWWMMMMMMNOxkko:ldc;'.','.'',;:;'.            .';:;,''.','.';cdl:okkxONMMMMMMWWWWWWWMWWMWWWWWNNNXx:coxxxkkxxxkkddoolc;;:;..',,;.       
>       .....,;,';;;:cldkxodxdol;'..  :KNXKklcoOKKxdkkKWWNNNXXNWWMWx,,loddlc;'',,;'';:,'''..          ..''',:;'';,,'';clddol,,xWMWWNXXNNNWWKkkdxKKOoclkKXNK:  ..';lodxdoxkdlc:;;;',;,.....      
>     .....',,;:ccccdkxoolloc'.      .kNX0xccoook0xdl;xNWWKKKKXXNWMK,   .:lc;.';;'.',,.......        .......,,'.';;'.;cl:.   ,KMWNXXKKKKWWNx;ldx0koooccx0XNk.      .'collooxkdcccc:;,,'.....    
>   ..',,',;:cclodkxdl::lc,.         cNNK0OOXWWXXWWMMWWMMWOx0XXKXWMWo      ','...'...... ....        .... ......'...','      oWMWXKXX0xOWMMWWMMWWXXWWXOO0KNNc         .,cl::ldxkdolcc:;,',,'..  
>  ';,'',::c::loool;.;c,.            oNK0OkOXWNXNMMMMMMMMMWNX0O0KNWMd        .'.... ..                      .. ....'.        dMWNK0O0XNWMMMMMMMMMNXNWXOkO0KNo            .,c;.;loool::c::,'',;' 
>  ..'',,,,,''......;c.              cKK00OOKWNXNMMMMMMMMMWNKkdkKNWWo          .....                          .....          oWWNKkdkKNWMMMMMMMMMNXNWKOO00KKc              .c;......'',,,,,''.. 
>       .......   ..':.              '0XOkkk0KXNNNWWWWMWWWNKkxk0XWWK,              .....                  .....              ,KWWX0kxkKNWWWMWWWWNNNXK0kkkOX0'              .:'..   .......      
>        ...';:;'.  ..'.              cK0kkkOxkKXXXNNXNNXOOOkO00XWXc                .'..''..          ..''..'.                cXWX00OkOOOXNNXNNXXXKkxOkkk0Kc              .'..  .';:;'...       
>        .  .,;::;,,.  .....           cO0OkxooxkkkkkxkkxdxOxxKNN0:                 ..    ....      ....    ..                 :0NNKxxOxdxkkxkkkkkxooxkO0Oc           .....  .,,;::;,.  .       
>              .;ccoc,.   .'''.         'okkxddxxdxxddxdlcokxkXKd.                .         .'.    .'.         .                .dKXkxkocldxddxxdxxddxkko'         .'''.   .,cocc;.             
>            ..',;;;:cc::,.  .''.'....    .;ccoolcoxocoo:;lxxdc.         ........',,'''''''...      ...''''''',,'........         .cdxxl;:oocoxocloocc;.    ....'.''.  .,::cc:;;;,'..           
>            .. ......,;clc:,'................''''''''',,''................    ............            ............    ................'',,'''''''''................',:clc;,...... ..           
>                    ..',',;;;,,,,'',.  .................'''''''...                                                            ...'''''''.................  .,'',,,,;;;,','..                   
>                         .....;,;::cc:c:;;;:;,'.',,';;;:;col;;l,.                                                              .,l;;loc;:;;;',,'.',;:;;;:c:cc::;,;.....                        
>                             ......;,;c,'ldl:::::::';c,,;oo'.''.                                                                .''.'oo;,,c;':::::::ldl',c;,;......                            
>                                   . ....:l,,c;':;'..'. .,.                                                                          .,. .'..';:';c,,l:.... .                                  
>                                         ..  .. .                                                                                              . ..  ..                                        

Solutions by @lennartack:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @lennartack

25 active golfers, 69 entries

Solutions by @lennartack:
24
#11 - Lennart / @lennartack

05/08/2024 at 09:53AM

26
#>15 - Lennart / @lennartack

05/08/2024 at 09:51AM