mirror of https://github.com/onivim/oni.git
54105e0253
* First messy attempt at moving around Oni windows. * Make slightly smarter. * Tidy up. * Fixed passing of direction. Also check that there are valid windows to swap to, both initially and after filtering. * Tidy up by moving to new file. * Ignore minimized windows. Not sure if this should be the default or not. Is possible we could hook up a config option and pass that over the IPC to here to make it configurable. * Add to OniEditor for now. * Remove temp commands. * Fix lint issues. * Remove main window from main.ts Added function to get current active window, and renamed main window to currentWindow. * Extend the logic of window swapping to check the main axis first. I.e. always move to the closest window on the right. * Fix lint issues. * Setup main unit tests. * Change code to make it more easily unit-testable. * Add first set of tests. * Add further tests. * Tidy up tests. * Remove from OniEditor. * Wire up in index.tsx. |
||
---|---|---|
.. | ||
WindowManagerTests.ts |