Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Indentation #44

Open
normen opened this issue Dec 28, 2021 · 3 comments
Open

Indentation #44

normen opened this issue Dec 28, 2021 · 3 comments

Comments

@normen
Copy link

normen commented Dec 28, 2021

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
Copy link
Owner

sotte commented Jan 3, 2022

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
Copy link
Author

normen commented Jan 3, 2022

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

@sotte
Copy link
Owner

sotte commented Jan 3, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants