slides.vim

Des slides dans votre vim - retour accueil

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

template.slides (999B)


      1 
      2   vim: ft=slides et ts=2 sts=2 sw=2
      3 
      4   speaker:
      5   * don't remove the 'vim:' line if you don't know
      6     what it is.
      7   * if required, don't forget to load specific behaviour
      8         so %:r.vim
      9   * the essential mappings are
     10     next slide     ┃ page down
     11     previous slide ┃ page up
     12     (*             ┃ ▶
     13     (-             ┃ 
     14     ("             ┃ › (new slide)
     15     (5             ┃ 5 new 
     16   * learn more reading readme.slides from slides.vim distro
     17 
     18   if you want your title bar to be filled, set nowrap
     19   and filter this file with:
     20   awk '{ if (/^›/) printf "%-78s",$0; else print }'
     21   from vim:
     22   %!awk '{ if (/^›/) printf "\%-78s",$0; else print }'
     23 
     24 › title
     25 
     26   Event name
     27   Location, Date
     28   date +'  %A, %Y %m %d' -d ''
     29 
     30 › welcome › agenda
     31 
     32   ▷│ welcome
     33   █│ the basics
     34   █│ new features
     35   █│ the future
     36 
     37 › welcome › agenda
     38 
     39   ▷│ welcome
     40    │ ▷ topic 1
     41    │ ▷ topic 2
     42   █│ the basics
     43   █│ new features
     44   █│ the future