How to convert all text to lowercase in Vim

前端 未结 10 1589
刺人心
刺人心 2021-01-29 18:21

How do you convert all text in Vim to lowercase? Is it even possible?

10条回答
  •  臣服心动
    2021-01-29 18:48

    I had a similar issue, and I wanted to use ":%s/old/new/g", but ended up using two commands:

    :0
    gu:$
    

提交回复
热议问题