Vim
替换
# 全局替换github.com 为github.com.cnpmjs.org
:%s/github.com/github.com.cnpmjs.org/g
# 替换当前行
:s/github.com/github.com.cnpmjs.org/g
From here you can search these documents. Enter your search terms below.
Keys | Action |
---|---|
? | Open this help |
n | Next page |
p | Previous page |
s | Search |