summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-05-22 19:31:04 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2017-05-22 19:31:04 +0200
commit305a59796eb97105ae6843fb0163a49e17fa2c84 (patch)
tree09ef391530b834c43485d3767ed88e0a6bcc7cb0
parent238910a92d38b6251d7e7bb0e7033131c2b28a52 (diff)
Switch to python 3.5 (for stretch) for PythonInR
More commands for beamer slides
-rw-r--r--Rprofile3
-rw-r--r--vimrc10
2 files changed, 9 insertions, 4 deletions
diff --git a/Rprofile b/Rprofile
index e3d81d5..da960fb 100644
--- a/Rprofile
+++ b/Rprofile
@@ -20,3 +20,6 @@ if (interactive()) {
library(vimcom)
}
}
+
+# For (re)installing PythonInR
+Sys.setenv(USESPECIALPYTHONVERSION="python3.5")
diff --git a/vimrc b/vimrc
index c95501e..bebcd16 100644
--- a/vimrc
+++ b/vimrc
@@ -1,5 +1,5 @@
" vimrc of Johannes Ranke
-" Last Change: Wed Mar 29, 2017 at 05:02 PM +0200
+" Last Change: Mon May 22, 2017 at 07:20 PM +0200
" default settings (much is handled by tpope/sensible) {{{1
set ts=2
set sw=2
@@ -23,7 +23,8 @@ Plug 'tpope/vim-scriptease' " gives me K for looking up docs in vim scripts
Plug 'hrp/EnhancedCommentify'
"Plug 'jalvesaq/R-Vim-runtime'
Plug '~/git/R-Vim-runtime'
-Plug 'jranke/vim-pandoc', { 'branch': 'rmd' }
+Plug 'vim-pandoc/vim-pandoc'
+"Plug 'jranke/vim-pandoc', { 'branch': 'rmd' }
Plug 'vim-pandoc/vim-pandoc-syntax'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
@@ -75,12 +76,13 @@ let g:tex_fold_enabled=1
let g:rmd_syn_fold=1
" Beamer/tex environments - should go to some after/tex.vim script {{{1
+noremap \bb i\begin{block}{}<CR><CR>\end{block}<CR><ESC>3k14li
+noremap \bc i\begin{center}<CR><CR>\end{center}<CR><ESC>2ki
noremap \bf i\begin{frame}{}<Space>%{{{3<CR><CR>\end{frame}<CR><ESC>3k14li
noremap \bi i\begin{itemize}[<+->]<CR>\item <CR>\end{itemize}<ESC>k8li
-noremap \bc i\begin{center}<CR><CR>\end{center}<CR><ESC>2ki
-noremap \bt i\begin{table}\begin{tabular}{}<CR><CR>\end{tabular}\end{table}<CR><ESC>3ki
noremap \bo i\begin{columns}<CR>\begin{column}{}<CR>\end{column}<CR>\end{columns}<CR><ESC>3k17li
noremap \bs i\source{}<ESC>li
+noremap \bt i\begin{table}\begin{tabular}{}<CR><CR>\end{tabular}\end{table}<CR><ESC>3ki
noremap \eq i\question[2]<CR>\begin{solution}[2cm]<CR>\end{solution}<CR><ESC>3kA
" EnhancedCommentify {{{1

Contact - Imprint