Des slides dans votre vim - retour accueil
git clone git://bebou.netlib.re/slides.vim
Log | Files | Refs |
commit 19e9f37b42811136230130daef87cab8143a5a3d parent 5d7ba367b4abcbfef0f6bd22d6878cd156794861 Auterice: Marc Chantreux <khatar@phear.org> Date: Wed, 5 Dec 2018 13:08:48 +0100 add SlidesRC function Diffstat:
M | ftplugin/slides.vim | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/ftplugin/slides.vim b/ftplugin/slides.vim @@ -43,3 +43,10 @@ if !exists('*AgendaToggle') endif AgendaToggle + +fun SlidesRC () + for it in glob(expand('%:r').'.vim',v:true,v:true) + exec "so ".it + endfor +endfun +au BufNewFile,BufRead *.slides call SlidesRC()