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 @braxler:

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

15 active golfers, 35 entries

Solutions by @braxler:
41
#6 - John Braxler / @braxler

10/02/2019 at 05:38PM