From 305a59796eb97105ae6843fb0163a49e17fa2c84 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 22 May 2017 19:31:04 +0200 Subject: Switch to python 3.5 (for stretch) for PythonInR More commands for beamer slides --- Rprofile | 3 +++ vimrc | 10 ++++++---- 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}{}\end{block}3k14li +noremap \bc i\begin{center}\end{center}2ki noremap \bf i\begin{frame}{}%{{{3\end{frame}3k14li noremap \bi i\begin{itemize}[<+->]\item \end{itemize}k8li -noremap \bc i\begin{center}\end{center}2ki -noremap \bt i\begin{table}\begin{tabular}{}\end{tabular}\end{table}3ki noremap \bo i\begin{columns}\begin{column}{}\end{column}\end{columns}3k17li noremap \bs i\source{}li +noremap \bt i\begin{table}\begin{tabular}{}\end{tabular}\end{table}3ki noremap \eq i\question[2]\begin{solution}[2cm]\end{solution}3kA " EnhancedCommentify {{{1 -- cgit v1.2.1