Hacker News new | ask | show | jobs
by mg 1260 days ago
I have never seen a terminal solution that allows to have the terminal in fullscreen mode and still have a way to have a user defined writing area which can be resized on the fly.

I have experimented with various distraction free vim plugins but they were all fragile and cumbersome.

If you have a solution, a screenshot would be very interesting.

2 comments

tmux would be worth checking out. If you’re happy with the browser though then that works too!
I haven't maintained a Vim config in a few years now (more of an Emacs man now), but I do remember using Goyo in college. Looking back at it, I think it might scratch your itch as far as Vim plugins go, it even allows you to resize the area on the fly.

https://github.com/junegunn/goyo.vim

Goyo is one of the plugins I experienced as brittle and cumbersome. IIRC it creates the centered text area by creating 9 windows. The outter 8 to center the one in the middle, which is used to edit the text.

In my attempts to use it, that created a bunch of issues.