When coding on my laptop, I tend to switch between two columns with small fonts, and single layout with bigger fonts. Two columns are often needed when working on two files at the same time but the fonts are quite small on a small screen. So whenever I can, I focus on one file. I increase the font size and shift the center on the layout so I can see the 80 columns of the file I work on. I’m wondering if it’s possible to automate this behavior.
One option could be to define a command that switches layout and change font size, but when switching back from single to two columns, I lose the previous tabs distribution. Any idea?