Vim: underscore(_) automatically converted to (<-)

前端 未结 4 747
长情又很酷
长情又很酷 2021-01-14 11:45

I have been writing R scripts in Vim for some time now. Starting an hour ago, I began facing an issue that every time I type an underscore (_), it gets automati

4条回答
  •  死守一世寂寞
    2021-01-14 12:16

    The VIM: r-plugin does indeed change the mapping but the documentation section 4.1 states "it is possible to insert an actual underscore into your file by typing a second underscore".

    Thus, while you can disable the conversion of _ to <- it is easy to override temporarily.

提交回复
热议问题