slides.vim

Des slides dans votre vim - retour accueil

git clone git://bebou.netlib.re/slides.vim
Log | Files | Refs |

commit be338dc4ff290f92a4e727cc38252791cd0b4faf
parent af7a1fc0573520e25b3c50cf62f7497dfb84f9cf
Auterice: Marc Chantreux <eiro@phear.org>
Date:   Thu, 19 Mar 2020 15:41:55 +0100

remove obsoleted default theming

Diffstat:
Mftplugin/slides.vim | 13+++----------
1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/ftplugin/slides.vim b/ftplugin/slides.vim @@ -16,12 +16,9 @@ " Theme: highlight SlideTitle cterm=bold ctermbg=blue ctermfg=white - highlight SlideTitleTail cterm=bold ctermbg=none ctermfg=blue - " highlight CursorLine cterm=bold ctermbg=blue ctermfg=white highlight emphasize cterm=bold ctermfg=darkred ctermbg=none highlight Folded cterm=none ctermbg=none ctermfg=white setlocal fcs=fold:\ ,diff:\ - " setlocal cursorline setlocal noshowmode noruler noshowcmd nolist nonu setlocal so=0 laststatus=0 statusline=0 " use nbsp to emphasize something @@ -48,12 +45,8 @@ endif command -range=% SlidesUpdate <line1>,<line2>s/\v›(.*)/\1 / - 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() +command -nargs=0 SlidesRC +\ /^"<vim/,/^"vim>/w! /tmp/vimslidesrc +\| so /tmp/vimslidesrc