How to remove quotes surrounding the first two columns in Vim?

前端 未结 8 1212
遥遥无期
遥遥无期 2020-12-15 21:53

Say I have the following style of lines in a text file:

\"12\" \"34\" \"some text     \"
\"56\" \"78\" \"some more text\"
.
.
.
etc.

I want

8条回答
  •  攒了一身酷
    2020-12-15 22:38

    use visual block commands:

    • start mode with Ctrl-v
    • specify a motion, e.g. G (to the end of the file), or use up / down keys
    • for the selected block specify an action, e.g. 'd' for delete

    For more see :h visual-mode

提交回复
热议问题