In Vim, is there a way to paste text in the search line?

后端 未结 7 1684
情话喂你
情话喂你 2020-12-22 16:29

I want to search for $maximumTotalAllowedAfterFinish and replace it with $minimumTotalAllowedAfterFinish. Instead of typing the long text:

7条回答
  •  心在旅途
    2020-12-22 17:18

    Copy it as normal, then do CtrlR" to paste. There are lots of other CtrlR shortcuts (e.g, a calculator, current filename, clipboard contents). Type :help c_ to see the full list.

提交回复
热议问题