sotte / presenting.vim

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

Indentation #44

Open normen opened 2 years ago

normen commented 2 years ago

Hi,

first of all thanks for this plugin.

I was wondering if theres a way to have the main text indented so it doesn't stick to the left window border quite as much. I already tried re-enabling the sign column but with my color scheme that doesn't look too great.

I can try and implement something if given an idea for how to go about this.

Cheers, Normen

sotte commented 2 years ago

Hey @normen,

first of all: you're welcome.

There is no such feature currently. Initially I wanted to keep this plugin very simple, but lately some features have been added along the lines of theming.

If you would just indent each line, you would probably break the syntax hl that is used underneath. But give it a try and see what happens.

Also maybe other plugins already do what you need. https://github.com/junegunn/goyo.vim already centers your buffer by adding empty buffers around the main buffer. Does that do the trick for you?

normen commented 2 years ago

Uuh, that looks shiny, I'll play around with that and see how that goes, thanks!

sotte commented 2 years ago

I should mention that there are also more feature compete presentation tools such as https://github.com/tybenz/vimdeck