How do I make text wrapping match current indentation level in vim?

前端 未结 5 1459
无人及你
无人及你 2020-12-16 00:28

Does anyone know of a way to get vim to wrap long lines of text such that the position of the wrapped text is based on the indentation of the current line? I don\'t want to

5条回答
  •  不知归路
    2020-12-16 01:07

    I asked the same question on SuperUser, eventually found this question, found the patch, and updated the patch to work with Vim 7.2.148 from Fedora 11.

    You can use yumdownloader --source vim to get the source RPM. Then add a Patch3312: line and a %patch3012 -p1 line to the spec file, and build the rpm.

提交回复
热议问题