junegunn / goyo.vim

:tulip: Distraction-free writing in Vim
MIT License
4.49k stars 115 forks source link

height #133

Closed g-i-o-r-g-i-o closed 7 years ago

g-i-o-r-g-i-o commented 7 years ago

I'm not able to make this work... I'd like the margins to be as small as possible

" Goyo Setup {{{ let g:goyo_margin_top = 2 let g:goyo_margin_bottom = 2

junegunn commented 7 years ago

Where did you get those options? They're deprecated and not documented anywhere on the code.

Anyway try let g:goyo_height = '100%', but even then there will be some margin at the top and the bottom. It's a limitation of the current implementation.

paldepind commented 5 years ago

Where did you get those options? They're deprecated and not documented anywhere on the code.

They're still visible in the screenshot in the readme.

junegunn commented 5 years ago
goyo2019

Thanks, time for an update.

paldepind commented 5 years ago

Looks good :+1: And thanks a lot for goyo.vim. It's really nice.

Btw, I found this issue because I set let g:goyo_height = '100%' and was wondering why I still had a bit of margin in the top and bottom. Maybe it would be nice to mention this in the readme. I can do a PR if you're interested.

xukongwen commented 3 years ago

How can I totally disable the margin in top and bottom?