How to replace text between quotes in vi

后端 未结 6 1976
无人共我
无人共我 2020-12-07 12:12

Say I have this line of code:

$query = \"SELECT * FROM table\";

Is there a command in vi/vim which can instantly delete everything between

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-07 12:38

    From already inside the quotes you can do

    di"
    

    Read it as delete inside "

提交回复
热议问题