From a6dcf08e2d3175266e3209712404342df80d74ab Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 14 May 2020 17:42:27 +0200 Subject: ,rx for R-devel in Nvim-R, avoid graphical menus --- vimrc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 687c712..f789338 100644 --- a/vimrc +++ b/vimrc @@ -1,5 +1,5 @@ " vimrc of Johannes Ranke -" Last Change: Wed Apr 08, 2020 at 10:09 AM +0200 +" Last Change: Mon May 11, 2020 at 08:29 AM +0200 " default settings (much is handled by tpope/sensible) {{{1 set ts=2 set sw=2 @@ -46,7 +46,7 @@ Plug 'scrooloose/nerdtree' " Bracketed paste Plug 'ConradIrwin/vim-bracketed-paste' -" R plugin {{{2 +" R plugin {{{1 Plug 'jalvesaq/Nvim-R' "Plug '~/git/Nvim-R', { 'branch': 'rstudio' } vmap r :call SendSelectionToR("echo", "down") @@ -58,7 +58,14 @@ let R_rconsole_width = 80 "let R_in_buffer = 0 "let RStudio_cmd = '/usr/bin/rstudio' Plug 'mllg/vim-devtools-plugin' -" 2}}} + +" The following is adapted from issue https://github.com/jalvesaq/Nvim-R/issues/476 +function StartRdevel() + let g:R_path = '~/svn/R/r-devel/build/bin' + call StartR("R-devel") +endfunction + +nmap ,rx :call StartRdevel() call plug#end() -- cgit v1.2.1