You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
A scenario that frequently occurs in a multiple-monitor setup at work is that I'd like to expand VIM to encompass multiple displays, and use the goodness of the easy window splitting / window navigation across monitors. Gvim on windows, at least, doesn't seem to handle this very well - I imagine the terminal clients might be better if the terminal emulator handles resize/multiple monitors, but in my case, it doesn't fit my workflow.
With Electron, it's relatively easy to change the BrowserWindow dimensions to encompass multiple screens (or alternatively, create multiple BrowserWindows that can communicate with other).
It's easy to get the information about all displays:
require("electron').screen.getAllDisplays()
And it's also pretty easy to size the browser window:
What would be helpful in terms of workflow would be a command that is like "MonitorExpandLeft, MonitorExpandRight, MonitorExpandDown, MonitorExpandUp". This would size the window to expand to the boundary of the window if it hasn't already, or expand it out to the next window. This could be bound to something like plus arrow keys by default.
This would be somewhat gated by #20 since we need a nice way to express those commands, but we could have another hacky input added until we get that fixed..
The text was updated successfully, but these errors were encountered:
This is a feature I would love to have. This should allow for navigation between opened Oni windows, using <C-w>l, etc. The WindowManager can already handle and detect this case - the challenge here is bubbling that up, finding the next Oni window, and focusing it. The main process knows about all the active windows, so it'd be natural to send an ipc call to it to let it handle.
Testing with multiple Oni processes will be non-trivial here, but if we can have unit tests covering the navigation cases (figuring out which window is 'left', 'right', etc), that is sufficient.
@CrossR - thanks for the fix here! It's awesome to have this in. Don't forget to claim the bounty on it! 👍 (Either bountysource or opencollective - whatever you prefer)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A scenario that frequently occurs in a multiple-monitor setup at work is that I'd like to expand VIM to encompass multiple displays, and use the goodness of the easy window splitting / window navigation across monitors. Gvim on windows, at least, doesn't seem to handle this very well - I imagine the terminal clients might be better if the terminal emulator handles resize/multiple monitors, but in my case, it doesn't fit my workflow.
With Electron, it's relatively easy to change the BrowserWindow dimensions to encompass multiple screens (or alternatively, create multiple BrowserWindows that can communicate with other).
It's easy to get the information about all displays:
And it's also pretty easy to size the browser window:
What would be helpful in terms of workflow would be a command that is like "MonitorExpandLeft, MonitorExpandRight, MonitorExpandDown, MonitorExpandUp". This would size the window to expand to the boundary of the window if it hasn't already, or expand it out to the next window. This could be bound to something like plus arrow keys by default.
This would be somewhat gated by #20 since we need a nice way to express those commands, but we could have another hacky input added until we get that fixed..
The text was updated successfully, but these errors were encountered: