Skip to main content
fewer
Editing Cards

Editing Cards

Add, rename, copy, cut, paste, duplicate, delete, and connect nodes. Explore context menu actions for folders and files, plus the clipboard and undo/redo.

Fewer treats your graph like an editable outline. Every node supports the full set of editing actions, either from the context menu (right-click) or via keyboard shortcuts.

Adding Cards

  • Click Add File or Add Folder in the sidebar (the File & Actions section)
  • Or press Alt+N and pick a type from the dialog
  • New nodes are nested inside the currently selected folder when one is selected, otherwise they are added at the root
  • New nodes auto-enter rename mode and the canvas zooms to them

To add a child directly from the canvas, right-click a folder → Add Child Node (available in Power User mode).

Renaming

  • Double-click a node, or use the context menu → Rename, or press F2
  • Type the new name and press Enter to commit, Escape to cancel, or click away (e.g. on the canvas) to confirm and keep the typed name
  • Renaming a folder updates the paths of all of its descendants
  • Renaming a file auto-updates its extension and category icon

Copy / Cut / Paste

  • Copy (Ctrl+C): copies the selected node(s) to the clipboard
  • Cut (Ctrl+X): cuts the selection to the clipboard (the node stays visible until pasted)
  • Paste (Ctrl+V): pastes cut/copied nodes. Pastes into the selected folder if exactly one folder is selected, otherwise at root
  • Duplicate (Ctrl+D): copies a node as a sibling with a "copy" naming convention

From the context menu, Paste on a folder pastes the clipboard contents into that folder specifically.

Deleting

  • Delete / Backspace: removes selected node(s)
  • Right-click → Delete: removes a single node
  • Deleting a folder cascades: all descendants (children, grandchildren, connections) are removed too
  • Clear Canvas (trash icon in the sidebar) wipes the whole graph after a confirmation dialog

Unparenting

Right-click a node that has a parent → Unparent to detach it from its parent and make it a root-level node.

Batch Actions

Select multiple nodes (Shift+click, Shift+arrows, or Ctrl+A), then right-click any selected node. A Batch actions section appears at the top of the context menu:

ActionNotes
Rename…Opens a batch-rename dialog: find/replace (with * wildcard support), prefix/suffix, and optional numbering (name 1, name 2, …) with a live preview. File extensions are preserved. Duplicate names are skipped
CopyCopies every selected node (with subtrees) to the clipboard
CutCuts the selection to the clipboard and removes the originals; paste to place them
DuplicateDuplicates each selected node under its same parent
HideHides the whole selection (and descendant subnodes); press Shift+H to restore. Routes to the active leaf's hide layer when leaves are enabled
ShowReveals selected nodes that are currently hidden
Collapse FoldersCollapses every selected folder
Expand FoldersExpands every selected folder
Copy PathsCopies each selected node's full path to the clipboard, one per line
Move to Folder…Opens a folder picker and reparents all selected nodes under the chosen folder in one step — each item keeps its sub-items
UnparentDetaches the top-most selected nodes from their parents (nodes whose parent is also selected keep their in-selection connection)
Delete N ItemsRemoves the whole selection; folder deletes cascade

Every batch action is one undoable history entry — Ctrl+Z reverts the whole batch at once.

The canvas selection menu also offers selection helpers (under a "Select" heading) that replace the current selection rather than acting on it:

ActionNotes
Select DescendantsExpands the selection to include every descendant of every selected folder
Select Same ExtensionSelects every visible node sharing a file extension with any selected node
Select Same CategorySelects every visible node in a category (code, data, media, …) present in the selection

Connecting Cards

Drag from a node's output handle to another node's input handle to create a parent→child connection. Fewer validates the connection:

  • No cycles: you cannot connect a descendant back to its ancestor
  • No orphans pushed below files: files have no children, so their output handle is hidden
  • Unparenting or deleting removes the affected connections automatically

Hiding & Showing Children

In Power User mode, right-click a folder for:

  • Hide Children: collapse the folder's children into the Hidden Cards panel
  • Show Children: reveal hidden children again

Context Menu Actions

Folders

ActionNotes
RenameF2
Copy / Cut / PasteClipboard-aware
DuplicateSibling "copy"
UnparentMake root-level
DeleteCascade
Show/Hide ChildrenPower User mode
Add Child NodePower User mode
Open in File ExplorerDisabled in the web build
Copy PathPower User mode
Refresh from DiskDirectory imports only

Files

ActionNotes
RenameUpdates extension/category
Copy / Cut / DuplicateClipboard-aware
Copy NameCopies filename to clipboard
DeleteSingle node
Open FileDisabled in the web build
OS integration is switched off in the web build. "Open in File Explorer" and "Open File" go through server-side OS openers (/api/open-folder, /api/open-file) that only exist on a locally-running server, and those routes are restricted to localhost requests. Both actions are gated by LOCAL_FS_FEATURES in src/lib/fewer/features.ts, where every flag defaults to false; a native build that replaces these paths with OS commands flips them. Importing folders from disk is unaffected — it uses the webkitdirectory fallback in every browser.

Undo / Redo

Every editing operation records an undo step — including node moves (drag a node, then Ctrl+Z to snap it back):

  • Ctrl+Z: undo
  • Ctrl+Shift+Z / Ctrl+Y: redo
  • 50-step history buffer

With a split panel layout, each panel view keeps its own 50-step history. Undo/redo act on the view you last interacted with, so a drag in one view never rolls back an edit made in another.

Use Relayout after heavy manual edits to tidy the graph.

Next Steps