diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2017-05-22 19:31:04 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2017-05-22 19:31:04 +0200 |
commit | 305a59796eb97105ae6843fb0163a49e17fa2c84 (patch) | |
tree | 09ef391530b834c43485d3767ed88e0a6bcc7cb0 /vimrc | |
parent | 238910a92d38b6251d7e7bb0e7033131c2b28a52 (diff) |
Switch to python 3.5 (for stretch) for PythonInR
More commands for beamer slides
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |