Quickest way to change a pair of parenthesis to brackets in vim

后端 未结 6 1128
野的像风
野的像风 2020-12-30 02:00

I am new to vim and in the process of discovering tons of interesting things that one can using this powerful editor.

One particular thing that I need to do very fr

6条回答
  •  离开以前
    2020-12-30 02:37

    surround.vim https://github.com/tpope/vim-surround

    with this plugin, you can (cursor on or in (), cs([ to achieve your goal.

提交回复
热议问题