这个问题在这里已经有了答案:
Vim: underscore(_) automatically converted to (<-)
(4 个回答)
7年前关闭。
默认情况下,Vim-R-plugin 插入 <-
每当我输入或粘贴下划线时 _
.当我粘贴诸如 geom_bar
之类的内容时,这会产生问题。 ,变成 geom <- bar
.有没有办法关闭这个捷径?
我试着看 manual (向下滚动到“编辑”部分)但不知道该怎么做。
我正在使用 Vim-R-plugin 版本 0.9.9.9
对于 Vim 7.4 版。
最佳答案
从插件的帮助页面:
6.3. Assignment operator and Rnoweb completion of code block
...
To completely disable this feature, put in your vimrc:
let vimrplugin_assign = 0
——
编辑:在撰写本文时 (2019-10-25),请将其添加到您的 vimrc 中:
6.4. Assignment operator and Rnoweb completion of code block
...
let R_assign = 0
关于r - 在 Vim R 插件中禁用下划线 "_"快捷方式插入 "<-",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22453482/