summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-01-17 09:01:03 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2017-01-17 09:01:03 +0100
commitd0246b01913ab2ecc59608627ec375dcf8b2398b (patch)
treeaff4d25a82ad8e40577bcdca437c0659167ba353
parent16d26627d14235e864410be11502b66b98587714 (diff)
Tested RStudio integration - it works
This means I can use the power of Nvim including its great plugins like fugitive, gutter, airline and still use RStudio. At the moment I am happy with Nvim-R without RSTudio, but who knows, this may change, e.g. when RSTudio should be properly packaged for Debian.
-rw-r--r--vimrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 8b95552..f3f374c 100644
--- a/vimrc
+++ b/vimrc
@@ -1,5 +1,5 @@
" vimrc of Johannes Ranke
-" Last Change: Tue Jan 10, 2017 at 04:48 PM +0100
+" Last Change: Tue Jan 17, 2017 at 09:00 AM +0100
" default settings (much is handled by tpope/sensible) {{{1
set ts=2
set sw=2
@@ -47,11 +47,14 @@ if !has('nvim') && !exists("*job_getchannel")
let vimrplugin_openpdf = 0
else
Plug 'jalvesaq/Nvim-R'
+ "Plug '~/git/Nvim-R', { 'branch': 'rstudio' }
vmap r <Esc>:call SendSelectionToR("echo", "down")<CR>
let R_vsplit = 1
let R_assign = 0
let R_pdfviewer = 'okular'
let R_openpdf = 0
+ "let R_in_buffer = 0
+ "let RStudio_cmd = '/usr/bin/rstudio'
endif
" 2}}}

Contact - Imprint