Mouse Controls

Every mouse gesture SpiceEdit responds to.

SpiceEdit is mouse-first. Every UI surface is clickable, draggable, or scrollable. This page is the complete reference.

Editor body

GestureEffect
Left-clickPlace the cursor at the click point.
Left-click + dragExtend a selection from the press point.
Drag past the top or bottom edgeAuto-scroll while extending the selection at your last column.
Double-clickSelect the word under the cursor ([A-Za-z0-9_] definition).
Scroll wheelScroll three lines per tick.
Right-clickOpen the action menu (in terminals that forward Button3).

File tree

GestureEffect
Left-click on a folderToggle expand / collapse. Sets the folder as the active folder.
Left-click on a fileOpen the file in a new or existing tab.
Right-click on a folderPer-folder context menu: New File, Rename, Delete, Copy paths.
Right-click on a filePer-file context menu: Rename, Delete, Copy relative path, Copy absolute.
Scroll wheelScroll the tree.

The active folder — the one shown bold in the sidebar — is the default target for New File. The label in the action menu reflects this: “New file in cmd/” when a subfolder is active, plain “New file” at the project root.

Note: macOS Terminal + tmux often swallows Button3. Every right-click action also lives in the main menu, so you’re never stuck.

Tab bar

GestureEffect
Left-click a tab bodySwitch to that tab.
Left-click the × on a tabClose that tab. Dirty tabs prompt Save / Discard / Cancel.
Left-click the iconOpen the action menu.

Splitter

The single column between the sidebar and the editor is the splitter.

GestureEffect
Press on the splitter column, dragResize the sidebar. Min sidebar width: 18. Min editor width: 40.

Modals (action menu, find, finder, confirms)

GestureEffect
Left-click a rowActivate the row’s action.
HoverHighlight the row under the cursor.
Click outside the modalDismiss.

Status bar

The status bar shows the active file’s path, language, cursor position, dirty marker, git branch (when applicable), and any flash messages from background work. It’s display-only — the status bar does not respond to clicks.

Edit this page on GitHub