I’m trying to work with two editor views side-by-side. There’s a couple things I don’t know how to do, or maybe don’t understand correctly.
In a split-view what is the keyboard shortcut to switch to the other view? I can’t find anything in the menus either.
In split-view, when I “Go to anything” and select and open file it switches to the other view if it was last opened there. How can I get it to open in the view I’m currently in?
The docked tools, like search and replace, seem to be for the whole app, not just one view (they are full width). Can I get them to be smaller and focused on the one view? In particular, when I open a file I want it to stay in the one view.
When I close the last file in a view it closes the view as well. Is there a way to keep the views persistent?
In the multi-window mode it appears the open file lists aren’t shared. Is there some way to get it to share the open files instead of being what appears to be a whole new instance? I’m trying this approach since it may be closer to what I want than multiple views in one window.
In split-view I still can’t get open files to appear in the desired view. I put the focus in the view I want (now with a keyboard shortcut, thanks), then I use the quick switch to select another open document. It simply switches the focus to the view where that document was last opened. I want the document to be opened in the current view instead.
I’m also a bit confused by the tabs in the multi-views, it makes it look like the file is opened twice, once in each view where it has been used.
I’m not able to reproduce this. When I have focus on a split view and use Commando to open a file it will open in the split view that I have selected. I can then close the file and focus the other split view and it will open there if I open it again.
Could you record a quick screencast of what you’re seeing?
The file can indeed be opened in both views, this is useful when editing two sections of the file and needing to reference each section simultaneously.
There’s your issue, this just switches to the file, it does not move the file. To move the file to the other view you have to use the key binding (or drag the tab with your mouse) - nothing else will do this.