How can I script vim to run perltidy on a buffer?

后端 未结 6 1332
终归单人心
终归单人心 2021-02-02 00:42

At my current job, we have coding-style standards that are different from the ones I normally follow. Fortunately, we have a canned RC file for perltidy that I can

6条回答
  •  醉酒成梦
    2021-02-02 01:11

    I'm used to select text using line oriented visual Shift+V and then I press : an I have !perltidy -pbp -et4 somewhere in history so I hit once or more up arrow .

提交回复
热议问题