Skip to content

Drag and Drop ​

Otty accepts files, folders, and URLs from Finder, browsers, and any app that exports the standard pasteboard types.

The drop overlay ​

While dragging, the focused pane shows four edge targets (top / bottom / left / right). Each edge is split into two coloured halves:

HalfColorAction
Inner / terminalgreenOpen a new terminal rooted at the dragged path
Outer / ottyblueOpen as a pane — folder pane for directories, file pane for files, URL pane for URLs

This means you can drop the same folder two ways: as a terminal "cd here" or as a directory browser.

Drop behaviour by type ​

Dragged thingGreen halfBlue half
FolderNew terminal tab with cwd = <folder>Folder pane
File(n/a)File pane (view)
URL(n/a)URL pane
Text snippetPastes into the focused terminalSame

The green half is disabled for files and URLs (no "open as terminal" semantics).

Dragging Views ​

Otty's own tabs and panes are draggable too — rearrange them within a window, move them into another window, or tear them off into a brand-new one.

Tabs ​

Drag a tab in the tab strip to:

  • Reorder it — drop it between two other tabs; a thin insertion line shows where it will land.
  • Tear it off into a new window — drag it off the strip and release over empty space.
  • Move it into another window — drag it over that window's tab strip and drop. Hover a tab there to switch to it so you can aim.

While dragging, the tab follows the cursor as a floating preview and the original dims to a ghost.

Prefer the menu? Right-click a tab for Move Tab to New Window, Move Up, and Move Down.

Panes (split views) ​

Each pane has a drag handle along its top edge — move the pointer near the top and a small capsule appears. Drag from there to pick the pane up. As you move it over the layout, drop zones light up:

Drop zoneHighlightResult
A pane's edge (top / bottom / left / right)blueSplit that pane and drop yours on that side
A divider between panesblueInsert the pane along that divider
A pane's center (inner square)greenSwap the two panes
An existing tab (hover over it)—Merge the pane into that tab as a split
The tab strip (empty gap)—Move the pane out into its own new tab
Outside the window—Tear the pane off into a new window

Dropping a pane onto another window merges it into that window's layout.

Resizing splits ​

To change how much space each pane gets, drag the divider between them. Double-click a divider to reset its neighbours to equal sizes.

TIP

These blue / green zones are not the same as the green / blue edge-halves shown when you drag files or URLs in from outside (above). Dragging a file offers "open as terminal vs. pane"; dragging a pane offers "split vs. swap".

See also ​

Otty