Created
          September 10, 2014 20:47 
        
      - 
      
- 
        Save ryangraham/f075e7d5f6baa026b9cf to your computer and use it in GitHub Desktop. 
    vim comment regex
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | In VIM you can do one of the following: | |
| Comment all lines: :%s/^/# | |
| Comment lines 10 - 15: :10,15s/^/# | |
| Comment line 10 to current line: :10,.s/^/# | |
| Comment line 10 to end: :10,$s/^/# | |
| http://stackoverflow.com/questions/2276572/how-do-you-do-block-comment-in-yaml | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment