4 ms·
This is pretty cool. I wonder what's the best way to have the presentation in a single file instead of using multiple files to switch between slides. My first
by mg 4y ago
This is pretty cool.
I wonder what's the best way to have the presentation in a single file instead of using multiple files to switch between slides.
My first approach would be to start each slide with something like
# Slide 1
Switching slides then can be done with a keyboard alias that searches for the next/previous instance of "^# Slide [0-9]".
To avoid having the next slide visible at the bottom of the screen, one could put enought empty lines at the end of each slide. This would actually be a bit cumbersome. Maybe there is a better solution?
Another problem I see is margins. In a nice presentation, there is a good bit of margin around the content. Unfortunately, VIM has no concept of margin. And emulating it with newlines and spaces is very cumbersome. As you cannot easily change it.