GitHub - sotte/presenting.vim: A simple tool for presenting slides in vim based...
source link: https://github.com/sotte/presenting.vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
presenting.vim
presenting.vim is a vim plugin that turns your markup into presentable slides (in vim).
It is a clone of present.vim which is a clone of presen.vim. In contrast to its predecessors, presenting.vim:
- has support for common markup languages,
- can be extended, and
- is documented
Great, hey?
Installation
Use pathogen or vundle to install presenting.vim.
Configuration
Simply write your presentation in your favorite markup language. Every slide is separated by a markup language specific marker.
Filetype Slide Separator markdown# heading
rst
~~~~
orgmode
#----
GoLang slide
* title
These can be overridden or extended by setting b:presenting_slide_separator
for your preferred filetype in your .vimrc
. For example, set the .rst
slide
separator to ~~~~
via:
au FileType rst let b:presenting_slide_separator = '\v(^|\n)\~{4,}'
Usage
When you want to start presenting, execute
:PresentingStart
Once presenting, slide navigation is accomplished via these keys:
Key Actionn
next slide
p
previous slide
q
quit
Examples
For examples of presenting.vim presentations, see:
Of course you can configure the slide separators.
Contributing
The code and issue tracker are on github. Pull requests are welcome!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK