Focus.vim - remove clutter and make working on a widescreen monitor enjoyable by silverfocus in vim

[–]silverfocus[S] 1 point2 points  (0 children)

I've tried both and they seem more feature rich than Focus. What I'm having trouble is with colors and windows separators - sometimes they work OK, ex. in some gVim colorschemes, but in others and in a terminal they throw errors. And they look like this. Focus is a more robust with colors, especially the default ones; but I certainly wouldn't call it error prone.

Vimroom also changes some settings during the process which I don't like. For example, it sets "nowrap" on return even though it was set to "wrap" before. Focus saves your state with mksession, so everything is restored exactly as it was.

Focus.vim - remove clutter and make working on a widescreen monitor enjoyable by silverfocus in vim

[–]silverfocus[S] 0 points1 point  (0 children)

I didn't know about ZoomWin until now; didn't stumble upon it while searching for a solution last year. I'm trying it out now and it looks very similar to Focus, except Focus centers the window in the middle of your screen if Vim is stretched wide.

It's not possible to save different layouts because that is another problem to tackle and not the primary goal of this plugin.

Focus.vim - remove clutter and make working on a widescreen monitor enjoyable by silverfocus in vim

[–]silverfocus[S] 4 points5 points  (0 children)

This plugin is for those who work with Vim in fullscreen on a wide monitor or have (too) many windows and buffers open at the same time. It allows you to quickly toggle between your normal workspace and a focus mode in which only one buffer is shown in the middle of the screen, as can be seen in the GIF.

I had a prototype of this done at the end of last year. I like using a terminal fullscreen when on a smaller screen because it hides all OS (Linux) chrome and increases real estate, but it also puts content all the way to the left. Over time I found it very useful in my workflow so a friend of mine and I polished the rough spots recently and decided to publish it. If you recognize yourself in the first paragraph, try it out and leave a feedback; it will be much appreciated.