slides.vim

Des slides dans votre vim - retour accueil

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

commit dc271baa74771edac2396a51e778601ee419a011
parent 03ac94c642f70546a5622cfa59a46dc443cc83cf
Auterice: Marc Chantreux <khatar@phear.org>
Date:   Mon, 21 May 2018 21:02:08 +0200

emphazise to look better

* exclude the highlight to the innner region
* unset listchars
* red as default color

Diffstat:
Mftplugin/slides.vim | 4++--
Msyntax/slides.vim | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ftplugin/slides.vim b/ftplugin/slides.vim @@ -16,12 +16,12 @@ " Theme: set fcs=fold:\ ,diff:\ highlight CursorLine cterm=bold ctermbg=blue ctermfg=white + highlight emphasize cterm=bold ctermfg=darkred ctermbg=none highlight Folded cterm=none ctermbg=none ctermfg=white - set statusline=0 noshowmode noruler noshowcmd + set statusline=0 noshowmode noruler noshowcmd listchars= setlocal nonu cursorline so=0 laststatus=0 " use nbsp to emphasize something " see emphasize.slides demo - highlight emphasize ctermfg=red cterm=bold " every slide starts with a › set fdm=expr foldexpr=getline(v:lnum)=~'^\ *›'?'>1':1 diff --git a/syntax/slides.vim b/syntax/slides.vim @@ -1 +1 @@ -syn match emphasize "\v [^ ]+ " +syn match emphasize "\v \zs[^ ]+\ze "