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 57a4ec036f04c40bf8000001

ascii-art diamond

Simple ascii-art diamond. The grid is 40x40.

Start file
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------
End file
                   /\                   
                 
// \                  
                 
///  \                
               
////   \                
               
/////    \              
             
//////     \              
             
///////      \            
           
////////       \            
           
/////////        \          
         
//////////         \          
         
///////////          \        
       
////////////           \        
       
/////////////            \      
     
//////////////             \      
     
///////////////              \    
   
////////////////               \    
   
/////////////////                \  
 
//////////////////                 \  
 
///////////////////                  \
////////////////////                   \
\                   ////////////////////
 
\                  ///////////////////
 
\                 //////////////////  
   
\                /////////////////  
   
\               ////////////////    
     
\              ///////////////    
     
\             //////////////      
       
\            /////////////      
       
\           ////////////        
         
\          ///////////        
         
\         //////////          
           
\        /////////          
           
\       ////////            
             
\      ///////            
             
\     //////              
               
\    /////              
               
\   ////                
                 
\  ///                
                 
\ //                  
                   
\/                  

View Diff

1,40c1,40
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
< ----------------------------------------
---
>                    /\                  
>                   /
/ \                  
>                  ///  \                
>                 ////   \                
>                /////    \              
>               //////     \              
>              ///////      \            
>             ////////       \            
>            /////////        \          
>           //////////         \          
>          ///////////          \        
>         ////////////           \        
>        /////////////            \      
>       //////////////             \      
>      ///////////////              \    
>     ////////////////               \    
>    /////////////////                \  
>   //////////////////                 \  
>  ///////////////////                  \
> ////////////////////                   \
> \                   ////////////////////
>  \                  ///////////////////
>   \                 //////////////////  
>    \                /////////////////  
>     \               ////////////////    
>      \              ///////////////    
>       \             //////////////      
>        \            /////////////      
>         \           ////////////        
>          \          ///////////        
>           \         //////////          
>            \        /////////          
>             \       ////////            
>              \      ///////            
>               \     //////              
>                \    /////              
>                 \   ////                
>                  \  ///                
>                   \ //                  
>                    \/                  

Solutions by @mcr05:

Unlock 3 remaining solutions by signing in and submitting your own entry
Created by: @g_usermod

17 active golfers, 44 entries

Solutions by @mcr05:
54
#14 - Matt / @mcr05

08/10/2016 at 07:20PM

55
#>14 - Matt / @mcr05

08/10/2016 at 07:15PM

56
#>15 - Matt / @mcr05

08/10/2016 at 07:07PM