Viewing two sheets simultaneously
VisiData supports the viewing of two sheets simultaneously with a feature called split screen.
Entering split screen mode
||split screen in half, placing second sheet on stack visibly in the second pane|
||split screen, setting the height of the second screen to n|
When there is a single pane, all currently-open sheets are situated within the same sheets stack. The more recent that sheet was viewed, the higher it is in the stack.
Split-pane opens a second window, and creates a second stack for it. This keeps the sheet stably within a specific window.
For instance, pressing
Shift+C on the sample.tsv will give us a stack with two columns, the sample Sheet and its Columns Sheet.
Shift+Z will now give us a view of them both, with the sample Sheet moved to the second window.
Split screen mode specific commands
While in split screen mode, you can move between windows, adjust the sheets that appear in the current window, and full-screen the current pane.
||adjust the height of the second window to n|
||full screen the current window|
||make the other window the active window|
||swap top two sheets in stack in current window, second sheet in stack is now visible|
||cycle through sheets in stack in current window|
For instance, we can use
Tab to make the sample Sheet the active window.
Moving around it, we can see the Columns Sheet in the top window continuing to be updated.
We can press
Shift+F on the Item column to view its Frequency Table.
Now, the visible sheet of the second window has changed, while the visible sheet on the top window has stayed the same.
We can use
^^, so that sample Sheet is once again visible, and full-screen it with
g Shift+Z, effectively leaving split screen mode.