Disable underscore “_” shortcut inserting “<-”

2019-02-17 06:27发布

This question already has an answer here:

By default, the Vim-R-plugin inserts <- whenever I type or paste an underscore _. This creates problems when I paste stuff like geom_bar, which becomes geom <- bar. Is there a way to turn this short-cut off?

I tried looking at the manual (scroll down to Edit section) but couldn't figure out how to do it.

I'm using Vim-R-plugin Version 0.9.9.9 for Vim version 7.4.

1条回答
仙女界的扛把子
2楼-- · 2019-02-17 07:10

From the help page of the plugin:

6.3. Assignment operator and Rnoweb completion of code block

...

To completely disable this feature, put in your vimrc:

let vimrplugin_assign = 0

查看更多
登录 后发表回答