Des slides dans votre vim - retour accueil
git clone git://bebou.netlib.re/slides.vim
Log | Files | Refs |
commit d97bec0b0c39d2debd4a19bb8955600a6c8b9d1a parent 221cae1468ce2b7da46636a296f51dec6938e395 Auterice: Marc Chantreux <mc@unistra.fr> Date: Fri, 13 Oct 2023 11:15:37 +0200 SlidesRC replaced by LoadTheme wich actually works :) Diffstat:
M | ftplugin/slides.vim | | | 13 | ++++++++++--- |
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/ftplugin/slides.vim b/ftplugin/slides.vim @@ -67,6 +67,13 @@ endif AgendaToggle -command -nargs=0 SlidesRC -\ /^"<vim/,/^"vim>/w! /tmp/vimslidesrc -\| so /tmp/vimslidesrc +command -nargs=0 LoadTheme +\| set nofen +\| silent /^" *<vim\>/;/^" *vim>/w! /tmp/vimslidestheme +\| so /tmp/vimslidestheme +\| silent exec "!rm /tmp/vimslidestheme" + +if search("^\" *<vim\\>","n") | LoadTheme +endif +set fen " should be a toggle in LoadTheme +1