sotte / presenting.vim

A simple tool for presenting slides in vim based on text files.
MIT License
300 stars 50 forks source link

use `au FileType` rather than filetype dictionary #10

Closed Jonplussed closed 9 years ago

Jonplussed commented 9 years ago

Rather than looking up filetypes in a dictionary, use a per-buffer b:presenting_slide_separator using Vim's built-in au FileType to set the slide separator.

sotte commented 9 years ago

Thanks @Jonplussed!

Jonplussed commented 9 years ago

Happy to help! I've been using this project to give presentations at my local meetup and it's been invaluable.

sotte commented 9 years ago

Always glad to hear stories like that!

If only vim could display pictures... ;)