Move file from one editor window to another (split mode)

MyDogTom picture MyDogTom · Jun 18, 2015 · Viewed 7.8k times · Source

Is it possible to move a file (already opened) from one editor to another in split mode without using mouse and without using tabs (I have tabs disabled).

Example of what i want to accomplish. I enabled split mode (vertical) and opened file X in left editor. I want to move this file X to right editor because I already have file Y int left editor.

I found the command Move to opposite group which works fine only when tabs are enabled. When tabs are disabled (my case) call Move to opposite group force split mode to disappear.

Answer

David Viehtauer picture David Viehtauer · Jul 30, 2015
  • Goto File->Settings
  • Then Keymap
  • Type in the searchbox "Move To Opposite Group"
  • Assign a shortcut

Also useful is "Goto Next Splitter" which allows you to switch between your Splitter.

But you'll hardly find a shortcut which is not already occupied.

I used Ctrl + NumPad+ for "Move To Opposite Group" and Ctrl + ArrowRight for "Goto Next Splitter"

You'll be notified that this shortcut is already in use, but you can ignore that. I had no conflicts so far