Post

Vim Editor

Vim Editor

  1. To search a keyword in the file:
    1
    
    /keyword
    
  2. To replace a string in the file:
    1
    
    :%s/oldstring/newstring/g
    
This post is licensed under CC BY 4.0 by the author.