summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rprofile5
-rw-r--r--vimrc6
2 files changed, 10 insertions, 1 deletions
diff --git a/Rprofile b/Rprofile
index 98a26be..a202a70 100644
--- a/Rprofile
+++ b/Rprofile
@@ -14,3 +14,8 @@ local({
# For (re)installing PythonInR
#Sys.setenv(USESPECIALPYTHONVERSION="python3.5")
+
+if (interactive()) {
+ suppressMessages(require(reprex))
+ suppressMessages(require(usethis))
+}
diff --git a/vimrc b/vimrc
index f789338..874cf22 100644
--- a/vimrc
+++ b/vimrc
@@ -1,5 +1,5 @@
" vimrc of Johannes Ranke
-" Last Change: Mon May 11, 2020 at 08:29 AM +0200
+" Last Change: Thu May 28, 2020 at 04:16 PM +0200
" default settings (much is handled by tpope/sensible) {{{1
set ts=2
set sw=2
@@ -35,6 +35,10 @@ Plug 'junegunn/goyo.vim'
Plug '~/git/R-Vim-runtime'
Plug 'vim-pandoc/vim-pandoc'
Plug 'vim-pandoc/vim-pandoc-syntax'
+" The following plugin gives me <Leader>bd for closing a buffer while keeping
+" the window open, for example when editing several R scripts with
+" the R interpreter running in a separate vim window
+Plug 'seb-mueller/kwbdi.vim'
" Version control
Plug 'tpope/vim-fugitive'

Contact - Imprint