Des slides dans votre vim - retour accueil
git clone git://bebou.netlib.re/slides.vim
Log | Files | Refs |
commit deb625a9198b5d6128247e44e512fb4bf76ead35 parent dc271baa74771edac2396a51e778601ee419a011 Auterice: Marc Chantreux <khatar@phear.org> Date: Wed, 23 May 2018 17:35:59 +0200 hide list is so much simpler toggling list :) Diffstat:
M | emphasize.slides | | | 15 | ++++++--------- |
M | ftplugin/slides.vim | | | 2 | +- |
2 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/emphasize.slides b/emphasize.slides @@ -1,9 +1,12 @@ › first + to emphasize something, just use non breaking spaces + (<alt-space>) around it. + be sure there is no nbsp entry for listchars. the easiest way to do it is - :set listchars= + :set list! › did you spot the 1 ? @@ -23,19 +26,13 @@ 000 0 0 0 0 0 000 0 0 0 0 0 -› perl w/o Function::Parameters +› perl Function::Parameters sub hello { - my $who = @_ ? shift : "world"; + my $who = @_ ? shift : "world"; say "hello $who"; } -› perl with Function::Parameters - fun hello ( $who = 'world' ) { - # my $who = @_ ? shift : "world"; say "hello $who"; } - - - diff --git a/ftplugin/slides.vim b/ftplugin/slides.vim @@ -18,7 +18,7 @@ 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 listchars= + set statusline=0 noshowmode noruler noshowcmd nolist setlocal nonu cursorline so=0 laststatus=0 " use nbsp to emphasize something " see emphasize.slides demo