diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-05-14 17:42:27 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-05-14 17:42:27 +0200 |
commit | a6dcf08e2d3175266e3209712404342df80d74ab (patch) | |
tree | 744173dec199c2a60c18b2fe86a4365cbe595bf0 /vimrc | |
parent | 46acb37de2f6911feda9b5d822a89a60f1ec33cf (diff) |
,rx for R-devel in Nvim-R, avoid graphical menus
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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 <Esc>:call SendSelectionToR("echo", "down")<CR> @@ -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()<CR> call plug#end() |