Frage

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.

War es hilfreich?

Lösung

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

--

EDIT: As of writing this (2019-10-25), add this to your vimrc instead:

6.4. Assignment operator and Rnoweb completion of code block

...

let R_assign = 0

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top