Vimma

Workspaces

A workspace is a set of tabs with its own cookies and logins, like a separate browser profile one key away. Keep work in one and personal browsing in another: signing in to a site in one does not sign you in to it in the other.

Under the hood each workspace is a Firefox container. ctrl+b ( and ctrl+b ) step through them, as tmux's session keys do. A window shows one workspace at a time; the others' tabs are hidden, not closed, and everything comes back after a restart.

Make your first workspace

  1. Press ctrl+b shift+n. The command line opens with :wsnew typed for you.
  2. Type a name, such as work, and press Enter. You are now in it: the status bar shows ● 2:work.
  3. Sign in to something. Press ctrl+b ( to go back to main: you are not signed in there.
  4. ctrl+b ) takes you forward to work again.

Workspace keys

ToPress
Next / previous workspacectrl+b ) / ctrl+b (
Pick from a listctrl+b w
Back to the previous workspace; press again to togglectrl+^, like Vim's alternate buffer (ctrl+6 on layouts where ^ is a dead key)
Go to one by name or number:ws work, :ws 2, :ws # (the previous one)
New workspacectrl+b shift+n
Close this workspacectrl+b shift+d
Move this tab to another workspace:wsmove work, or m in the ctrl+b w list

Every key, renaming and the Vim-style ]w / [w included, is in the table below.

Good to know

  • Closing a workspace you made deletes its cookies, logins and site data. Vimma asks first; press y to close it, anything else to keep it.
  • Moving a tab reopens it in the other workspace: it keeps its address, but loses its back/forward history and anything typed into forms.
  • New tabs open in the workspace you are in. A link you click opens in the page's own workspace, even in a new tab.
  • Tab numbers, ctrl+b n / ctrl+b p and closing tabs stay within the workspace; ctrl+b g lists every workspace's tabs.
  • If you think of a workspace as a Vim buffer, the commands follow: :wa adds one and :wd closes one, as :badd and :bd do.
  • Site permissions (camera, microphone, location, notifications) are per workspace too, like logins.
  • Each workspace has its own bookmarks folder.
  • Two workspaces are special: the private workspace (ctrl+b shift+p), Firefox's private browsing, and the agent workspace, the only one AI agents can reach. ctrl+b ( and ) skip both; the picker lists them last.
  • You can declare workspaces in config.toml, and send sites or apps to one automatically: see Send sites to a workspace.

The private workspace

The private workspace is Firefox's private browsing, reached with one key, like any other workspace. Because it is a real Firefox private window, the history, cookies, site storage, cache, form history and download records it collects are discarded when you close it.

  1. Press ctrl+b shift+p (or ctrl+shift+p, or :private). The private workspace opens, and the status bar says ◆ private.
  2. Browse as usual: hints, find, splits, copy mode and the side panel work as in any workspace.
  3. Press ctrl+b shift+p again, or ctrl+^, to go back to where you were. The private workspace stays open, one key away.
  4. When you are done, ctrl+b shift+d in it (or :private close anywhere) asks for confirmation (y/N), then closes it and discards its data.

Private workspace: good to know

  • Reached by its own key only. ctrl+b ( / ), ]w / [w and ctrl+^ never land in it by accident; from inside it, they take you out.
  • There is only one. Every private window belongs to it, and they all share one cookie jar, as Firefox's private windows do.
  • The workspace picker (ctrl+b w) lists it last, with a tab count only, never a title or an address. m on that row reopens the current tab there; a private tab never moves out.
  • On Hyprland it takes your Vimma window's place, in the same tile and size, and your normal window comes back when you switch or close the private window. On macOS it does the same, at your window's frame, unless the window is in full screen. Elsewhere it is a second window.
  • Add-ons run there only if you allowed them in private windows (ctrl+b e, then P).
  • Not hidden: the clipboard. What you copy there stays there after the workspace closes. The window's title, on the other hand, is always Vimma Private Browsing, never the page's.

Send sites to a workspace

Routing puts each link in the workspace it belongs to, without you having to think about it. Send github.com to your work workspace, or every link Slack opens, and the page arrives there with that workspace's logins, wherever you clicked it.

Write your first rule

  1. Go to a site that belongs in a workspace, such as github.com.
  2. Type :route add work and press Enter. Vimma appends a rule for the site to config.toml, as long as the file has no errors.
  3. From now on, an address you type, a bookmark or a link from another app on that site opens in work.

Or write the rules yourself in config.toml. The first rule that matches, top to bottom, wins:

[[routes]]
domain = "github.com"   # the site and its subdomains
workspace = "work"

[[routes]]
app = "slack"           # every link Slack opens
workspace = "work"

Route commands

ToType
See every rule, and which one matches this tab:route
Send this site to this workspace, or to work:route add, :route add work
Move this tab to the workspace its rule names:route move

Routing: good to know

  • Rules apply to what you open yourself: an address you type, :open, a bookmark or a link from another app. A link that a page opens stays in that page's workspace, so no site can open another site with your other logins. The status bar names the workspace the rule would choose, and :route move takes the tab there.
  • On Linux, routing by app works through vimma-open: Vimma's packages make it the command their desktop entry runs, so it sees links while Vimma is your default browser, and command-line tools need BROWSER=vimma-open. A link from an app Vimma cannot identify, a Flatpak for example, follows only the domain and url rules. On macOS, app rules do not apply yet.
  • Private windows are never routed.

All the keys for this page

The default bindings, as Vimma's own ctrl+b ? overlay lists them. Name is the action's name, which you use to remap it or to run it as a : command. Every key is on the keys page.

Workspaces (11)

ActionKeysName
Next workspacectrl+b )]wnext_workspace
Previous workspacectrl+b ([wprevious_workspace
Previous workspace you were in; again toggles back (Vim's ctrl+^)ctrl+b ^ctrl+b ctrl+6ctrl+^ctrl+6last_workspace
Switch to a workspace by name or numberno default keyswitch_workspace
Workspace pickerctrl+b wworkspace_picker
New workspacectrl+b shift+nnew_workspace
Rename workspacectrl+b shift+wrename_workspace
Close workspacectrl+b shift+dclose_workspace
Move the tab to another workspace (reopens it there)no default keymove_to_workspace
Routing rules: list them; :route add [workspace], :route moveno default keyroute_rules
Private workspace (a private window); again goes backctrl+b shift+pctrl+shift+pprivate_workspace

Details

Everything below is Vimma's own user guide for this topic, in full: every edge case and exception. You do not need it to get started.

Workspaces keep the different parts of your day apart. Every tab lives in a workspace, and every workspace is a Firefox container of its own: a site you are signed in to in one workspace sees none of its cookies or storage in another. A new profile has one workspace, main, and the empty agent workspace; you make more as you need them (see Managing workspaces).

  • ctrl+b ) / ctrl+b ( (or ]w / [w, :wsnext / :wsprev) go to the next / previous workspace in workspace order ([workspaces] in config.toml, then the ones you made), skipping the agent workspace, wrapping around, as tmux's session keys do, from every mode; :workspace work or :workspace 2 goes to one by name or number. The status bar shows where you are (● 2:work). ( and ) are matched by the character they type, not the key: shift+9 / shift+0 on a US keyboard, shift+8 / shift+9 on a Finnish one.
  • ctrl+^ (or ctrl+6, ctrl+b ^) goes back to the workspace you were in before, and again toggles back (Workspaces as Vim buffers).
  • ctrl+b w (or :workspace with no name) opens the workspace picker.
  • ctrl+b b or :sidebar opens the side panel: the current workspace's tabs down the left of the window.
  • A window shows one workspace at a time: the other workspaces' tabs are hidden, not closed. Coming back selects the tab you left, and a split comes back with its panes laid out as before, the same pane focused and its page ready for keys. Each workspace keeps its own split: splitting in one leaves the others' layouts alone. A workspace with no tabs gets a start-page tab when you switch to it.
  • ctrl+b 1..9, ctrl+b n / p, gt, ctrl+tab and closing a tab stay within the workspace. Tab search (ctrl+b g) is the exception: it lists every workspace's tabs, and other windows', and picking one from another workspace switches there.
  • New tabs (ctrl+b c, t, ctrl+t, a bookmark, a link from another app) open in the current workspace and its container. A link opened from a page keeps that page's container and so its workspace: opened in the background into another workspace, it waits there, hidden, and the status bar says where it went (opened in "work").
  • A tab in a container that belongs to no workspace (Firefox's own containers, "no container", an extension's) joins the workspace you are in as a foreign tab: it does not share that workspace's cookies and logins. The workspace picker counts it (3 tabs, 1 foreign).
  • A tab or window an extension opens at a web page or one of its own pages opens with "no container", as in Firefox, unless the extension names a container or opens it from one of your tabs (then it takes that tab's). It joins the workspace you are in as foreign. This is what lets an extension's sign-in work: a password manager such as Proton Pass opens its sign-in page and then reads the session from its own background, which only ever sees "no container". Shown in the agent workspace, such a tab stays out of the agent's container and agents cannot list or read it. A link you click in an extension's popup or page opens with "no container" too, the container of the page it is on. "No container" is shared by every workspace, so a site an extension opens for you there is not kept apart by workspace; a new, empty tab an extension opens takes the workspace's container, as ctrl+t does.
  • Site permissions are per workspace, like logins: a camera, microphone, location or notification permission you give a site in work does not apply to the same site in main or any other workspace (Vimma sets permissions.isolateBy.userContext). A permission stored without a container applies only to tabs with "no container", so give it again in each workspace that needs it. Firefox's Settings → Privacy & Security → Permissions lists a site once for each workspace that has a permission for it; the site information panel in the address bar shows the tab's own workspace. Firefox's built-in permission for addons.mozilla.org to install add-ons applies only outside workspaces, so installing from it asks once more.
  • A restart restores them. Each window comes back with its workspaces, their tabs, the workspace you were in, the tab you had selected in each, every workspace's split panes laid out as you left them with the same pane focused, your tab names and each page's scroll position. Tabs of other workspaces are not loaded until you first go to them; their scroll position comes back then. The same happens with "Restore previous session" and reopening a closed window.
  • No pinned tabs: Vimma has no key to pin, and a tab pinned by an extension or an old session is unpinned at once and stays in its workspace (Managing workspaces).
  • Each window has its own current workspace; the workspaces themselves are shared by all windows.

Workspaces as Vim buffers

If you think of a workspace as a Vim buffer, the keys are the ones your fingers already know:

VimVimmaWhat it does
ctrl+^ctrl+^, ctrl+6, ctrl+b ^Back to the workspace you were in before; toggles.
]b / [b (unimpaired)]w / [wNext / previous workspace, as ctrl+b ) / (.
:b name, :b 2, :b#:ws name, :ws 2, :ws #Go to a workspace by name, number, or the previous one.
:bn / :bp:wn / :wpNext / previous workspace.
:bd [name]:wd [name]Close this (or the named) workspace; asks y/N.
:badd name:wa nameNew workspace; you switch to it.
:ls:workspaces, ctrl+b wThe workspace picker.

In Vimma, :b and :ls themselves open tab search, not a workspace: :b work searches your tabs for work.

  • The previous workspace is the one this window showed before the current one, however you left it (a key, a command, the picker, or selecting one of its tabs). Pressing ctrl+^ again goes back, so two presses toggle between two workspaces, as Vim's alternate buffer does; tmux users can think of it as prefix+L, the last session. Each window has its own, it is saved with the window's session (a restart or "Restore previous session" brings it back), and a window that has shown only one workspace says no previous workspace in this window. Closing the previous workspace forgets it.
  • ctrl+^ and ctrl+6 work in normal mode; in a text field they are the page's. ctrl+b ^ and ctrl+b ctrl+6 work in every mode, insert mode too.
  • ^ as a dead key. On Finnish, German, French and other layouts ^ is a dead key: it waits for the next key to put an accent on. GTK then reports the key as Dead, not ^ (with or without ctrl), so ctrl+^ and ctrl+b ^ never arrive. Use ctrl+6 and ctrl+b ctrl+6 there, as Vim users on those layouts already do. ] and [ are AltGr+9 / AltGr+8 on a Finnish keyboard; ]w and [w match them (Keyboard layouts).
  • ]w and [w are normal-mode keys; ] then waits for the next key, as g does.
  • Tab after :ws, :wd or :wsmove completes workspace names.
  • Every one of these keys can be changed in config.toml: last_workspace, next_workspace and previous_workspace under [keys], and "<C-^>", "<C-6>", "]w", "[w" under [modal.normal]. The ctrl+b ? overlay shows the keys you have.

Managing workspaces

KeysCommandWhat it does
ctrl+b shift+n:wsnew shop, :wa shopNew workspace, with a container of its own; you switch to it.
ctrl+b shift+w:wsrename marketRename the current workspace (and its container).
ctrl+b shift+d:wsdelete [shop], :wd [shop]Close the current (or the named) workspace, after a y/N question.
:wsmove work / :wsmove 2Move the current tab to another workspace, by name or number.
ctrl+b shift+p:private, :privGo to the private workspace; again goes back.
:private closeClose the private workspace and discard its data, after y/N.
  • The keys open the command line with the command typed for you (ctrl+b shift+w with the current name to edit).
  • Closing asks first, at the foot of the window: y closes, any other key (n, Esc, Enter) keeps it. Closing a workspace you made deletes its container, and with it its cookies, logins and site data; the question says so. A workspace from [workspaces] in config.toml cannot be deleted while it is listed there: closing it closes its tabs only, and it keeps its logins. Renaming one is done in config.toml too. The last workspace cannot be closed. If the workspace changes between the question and your y (say config.toml was reloaded), nothing is closed. If you renamed its container in Firefox's Settings, its tabs and site data are kept, and the status bar says so.
  • A workspace name cannot be only digits: in :wsmove 2 and :workspace 2 a number means the workspace's place in workspace order. config.toml can still name one 2 in [workspaces]; then 2 means that workspace, by name, and the workspace at place 2 is reached by its name.
  • Moving a tab reopens it in the other workspace's container, as Firefox's "Reopen in Container" does: its address, name and mute come along, but not its back/forward history, what you typed into forms, its scroll position, or a form submission (the page is loaded again, signed in as that workspace). A tab in a split leaves the split first. You stay in the workspace you were in.
  • A workspace's container deleted outside Vimma (Firefox's Settings → Containers, or an extension) is replaced at once by a new, empty one: the workspace stays, its new tabs open in the new container, and the status bar says so. Its cookies and logins went with the old container, so its sites need a new sign-in. Tabs an extension left open in the deleted container stay in the workspace, marked foreign.
  • Containers turned off (privacy.userContext.enabled = false in about:config) at startup: the status bar shows a lasting error, and Vimma runs without workspaces (tabs open as in Firefox, without containers) until you set it back to true and restart. Vimma does not turn it back on for you.
  • A workspace's container gone at startup (deleted while Vimma was closed, or its id taken by another container) is replaced by a new, empty one, and the status bar shows a lasting error naming the workspace until the next start: its sites need a new sign-in.
  • Pinned tabs: Vimma has no key to pin a tab, and a pinned tab would show in every workspace, so a tab pinned by an extension or an imported session is unpinned at once and stays in its workspace; the status bar says unpinned "<title>".

Workspace picker

ctrl+b w lists the window's workspaces over the page, in workspace order: each with its number, its name and how many tabs it has here; the one you are in says current and is selected. The last row is the private workspace: ◆ private with its tab count, or new while it is not open. It shows a count only, never a title or an address.

KeyWhat it does
j / k, arrowsMove down / up.
/Search: type to filter by name; Esc goes back to j/k.
EnterSwitch to the selected workspace.
mMove the current tab to the selected workspace (asks first).
Esc / qClose the picker.

m asks Move this tab to "work"? … y/N at the foot of the window, because a moved tab is reopened and loses its back/forward history and form data (see Managing workspaces): y moves it, any other key keeps it. If the tab or the workspace changes before your y (another tab selected, the workspace renamed or closed), nothing is moved. m on the workspace the tab is already in says so and asks nothing. To create, rename or close a workspace, use ctrl+b shift+n, shift+w and shift+d.

m on the private row reopens the tab in the private workspace, after Reopen this tab in the private workspace? … y/N. The page is already in your normal history, so nothing new is recorded; it is Firefox's "Open Link in New Private Window" as a move. A private tab never moves out: m on a normal row from the private workspace, and :wsmove there, say a private tab cannot leave the private workspace.

The agent workspace is the last normal row, ◇ agent, with its number and tab count. m on it asks Move this tab to "agent"? Agents you allow can read it there. It is reopened with the agent's cookies; … y/N.

[[routes]] rules in config.toml, or in a routes.toml beside it (Routes in a file), send a site, or every link an app opens, to a workspace (and its container), as Zen's Space Routing does. Each rule names a workspace and what it matches; the first rule that matches, top to bottom, wins.

[[routes]]
domain = "github.com"         # github.com and its subdomains (gist.github.com), any port
workspace = "work"

[[routes]]
domain = "*.corp.example"     # only subdomains: jira.corp.example, not corp.example
workspace = "work"

[[routes]]
app = "slack"                 # every link Slack opens
workspace = "work"

[[routes]]
app = "discord"
domain = "youtube.com"        # both must match: YouTube links from Discord
workspace = "personal"

[[routes]]
url = "file:///home/me/notes/"  # a URL prefix: the way to route file:, about: and the like
workspace = "notes"
  • domain matches http and https pages only, on whole labels (github.com is not notgithub.com), whatever the port; Unicode names work written either way (bücher.example or xn--bcher-kva.example), and an IP address matches only itself.

  • app is the name of a program that opened the link, as vimma-open sees it (below), up to 64 characters.

  • Order is the precedence. Put the rule that matters most first: with app = "slack" above domain = "youtube.com", a YouTube link from Slack goes to work. Among app rules above the first matching rule without app, the one naming the program nearest the link wins, whatever their order: a link from a herdr pane in Ghostty matches app = "herdr" before app = "ghostty". An app rule below a matching rule without app never applies to that link.

  • A rule naming a workspace that does not exist is skipped (:route says so), and so is a rule naming the agent workspace for a link from another app: the next rule applies.

  • Links from other programs that no rule matches open where [routing] default_workspace says, when you set it:

    [routing]
    default_workspace = "work"   # links from other programs that no rule matches

    Left out, they open in the workspace Firefox guesses from your open tabs, else in the window's. It never applies to what you type or open in Vimma, and never to the agent workspace. Every program's links can land there, including an AI agent's, so choose a workspace without privileged sign-ins.

Where rules apply: an address you type in the address bar or with :open / :tabnew, a bookmark, a link from another app and a new window opened on a URL: what you or Vimma open. A link a page opens (a click, middle-click, gF hints, target=_blank, a pop-up) stays in that page's workspace, because a page could otherwise open any site with another workspace's logins; when you look at such a tab, the status bar names the workspace its rule would choose and :route move moves it. Opened in front, the tab takes you to its workspace; opened in the background, it waits there and the status bar says opened in "work". If you typed the address on an empty new tab, that tab is closed.

Where they do not: a page that navigates in its own tab (a click, a redirect, a sign-in bounce) is never moved, because moving reopens the page and would break the load. The status bar says github.com goes to "work" (route 1): :route move instead; :route move moves the tab there (it loses its back/forward history, as any move does). A container you chose yourself ("Open Link in New Container Tab") is kept. Private windows are never routed.

By application. Vimma's packages install vimma-open and make it the desktop entry's command, so when Slack, Discord, a terminal or Neovim opens a link, vimma-open looks up which programs asked (through /proc, skipping openers such as xdg-open and gio) and tells Vimma. A link carries up to eight program names, nearest first, shells included: az login run in a herdr pane in Ghostty carries python3, zsh, herdr, zsh, ghostty, so a rule can name whichever of them stands for the role, and the rule naming the nearest one wins. App rules need vimma-open, so they work only on Linux, and not in the Flatpak, whose desktop entry runs vimma itself (limits.md, Flatpak).

Command-line tools (the Azure CLI, gh, anything written in Python) open links through the BROWSER variable. Set it in your shell's startup file, and their links are routed by the terminal and multiplexer they run in:

# ~/.zshrc (or ~/.bashrc; in config.fish: set -gx BROWSER vimma-open)
export BROWSER=vimma-open
[[routes]]
app = "herdr"
domain = "login.microsoftonline.com"
workspace = "admin"

[[routes]]
app = "ghostty"
domain = "login.microsoftonline.com"
workspace = "admin"

[[routes]]
domain = "login.microsoftonline.com"
workspace = "work"

With these rules, az login in Ghostty, or in herdr inside Ghostty, opens its sign-in page in admin, and the same sign-in link from any other app opens in work. vimma-open returns at once, so the tool never waits for the browser, and a Vimma it starts does not close with the terminal.

  • Multiplexers. Inside tmux, zellij or a herdr session you have detached and attached again, the pane's processes run under the multiplexer's server, not under the terminal, so the names end at tmux, zellij or herdr. Write a rule for the multiplexer, as the herdr rule above does; a rule for the terminal behind it does not match. Vimma never asks the multiplexer which terminal is attached.
  • A program not on the way. vimma-open --from <name> <url> names the program itself, for a script or a systemd unit started outside any terminal: vimma-open --from backup https://example.com. It names a program, never a workspace: config.toml still decides.
  • What has no names: apps in Flatpak (they go through the desktop portal, as Ghostty's own link clicks do), apps started through systemd (uwsm app), and links opened after the asking program has exited. Only domain and url rules apply to them, then [routing] default_workspace.
  • What an app is called: about:vimma's Routing section (:route) shows the names the last link from another app carried and the rule it matched (never its address), and marks a rule that an earlier rule always wins against as shadowed by rule N. You can also run vimma-open https://example.com from the app, or look at its process name (ps -o comm), lower-cased.

Every program you run in a terminal carries the terminal's names, an AI agent's command-line tool included. When a rule sends an agent's tool (app = "claude") to the agent workspace, that tool's links never match an app rule at all, so an agent cannot reach a workspace you route your terminal's sign-ins to. Route agent tools (claude, codex) by name, and pair app with domain for a workspace that holds privileged sign-ins, as above, so that a program that only claims a name opens nothing but the sign-in host there.

Commands.

CommandWhat it does
:routeOpens about:vimma's Routing section: every rule in force, its file and line, and which one matches the tab you were on.
:route add, :route add workAdds a domain rule for this site (its host without www.) to the end of the routes file, for this or the named workspace.
:route moveMoves this tab to the workspace its rule names.

The routes file is routes.toml when it exists, otherwise config.toml. :route add refuses a site an earlier rule already routes (it names the rule), a routes file that has errors, and a file changed while it was writing. It only ever appends, and never creates routes.toml. When the file cannot be written (a config.toml linked into a read-only store, for example), it says so and shows the lines to add by hand.

Routes in a file

The rules you route say which sites you sign in to for work and which programs you run, and they grow with every :route add, while the rest of config.toml changes rarely. Keep them in routes.toml, beside config.toml (~/.config/vimma/routes.toml), and you can publish or share config.toml while the routes stay private (in .gitignore, or a private repository).

  • It holds [[routes]] tables and, optionally, [routing] default_workspace, written and checked exactly as in config.toml; any other key is an error.
  • When it exists, it is the routes file. Its rules and [routing] replace config.toml's as a whole: rules or a default_workspace left in config.toml are ignored, and the status bar says so at their first line. :route add then appends to routes.toml.
  • Edits apply within two seconds, as config.toml's do, and :source reads it at once. A routes.toml with an error keeps the last rules that read well while the rest of config.toml applies; the status bar shows routes.toml:<line>: …. Only a regular file (or a link to one) of up to 1 MiB is read.
  • Deleting it makes config.toml the routes file again at the next check. A git checkout that removes it for a moment can apply config.toml's rules until it is back.
  • Moving your rules: create routes.toml beside config.toml (touch it, then chmod 600 it), cut the [[routes]] tables and the [routing] table out of config.toml and paste them into it in the same order, and save both. The status bar names anything left behind in config.toml. Back: move them into config.toml again and delete routes.toml.
  • Trust. A routes.toml you pull from a repository decides which workspace, and so which logins, a site opens with, just as a pulled config.toml does: pull it only from a repository you control.

Private workspace

The private workspace is a Firefox private window that Vimma treats as a workspace. Everything a private window promises, it keeps, because it is one: nothing you do there stays on disk. History, cookies and site storage, the cache, form history, the downloads list and session restore all forget it, and so do Vimma's own files.

KeysCommandWhat it does
ctrl+b shift+p, ctrl+shift+p:privateGo to the private workspace, opening it if it is not open; in it, go back.
ctrl+b shift+d (in it):private closeClose it after y/N; its history, cookies and site data are discarded.
ctrl+^, ctrl+b ^ (in it)Back to the workspace you came from, in the window you came from.
ctrl+b ) / ctrl+b ( (in it)Leave it for your first / last workspace.
ctrl+b w:workspacesThe picker; the private workspace is its last row.
  • Its own key only. The private workspace is never a stop on ctrl+b ( / ctrl+b ), ]w / [w, :wn / :wp, nor the ctrl+^ of a normal window, so cycling never drops you into it by accident. From inside it, those keys take you out.
  • In it, the status bar says ◆ private (in the theme's magenta), and ctrl+b b lists its tabs under a ◆ private head. Splits, hints, find, copy mode, marks in the side panel and the command line work as in any workspace; the command line's history there is its own and is never written.
  • There is one private workspace. Every private window is part of it: ctrl+b shift+c in it, or Firefox's "Open Link in New Private Window", makes another, and the key takes you to the most recent one. They share one cookie jar, as Firefox's private windows do.
  • Closing it (ctrl+b shift+d or :wd in it, or :private close anywhere) asks Close the private workspace (5 tabs)? Its history, cookies and site data are discarded. y/N, then closes every private window, pop-ups included (an open sign-in pop-up would otherwise keep the data alive), and Firefox discards their data. The windows close as a script closes them: your y was the question, so Firefox's own warnings do not follow, and a private download still in progress is cancelled. Closing a private window with your window manager or ctrl+shift+w asks nothing; the data goes once the last private window has closed.
  • Add-ons run there only if you allowed them in private windows (ctrl+b e, then P). Searches use Firefox's private search engine if you set one. Vimma's own keys and pages need no add-on.
  • Links from other apps open in your normal window, as Firefox does, so you leave the private workspace to see them (on Hyprland and macOS the normal window swaps back into place; the private workspace stays one key away). Routing rules never send a page into or out of it.
  • Scripts: vimma-ctl state in the private workspace says "private": true and "workspace": "private", and gives every tab's url and title as null; each tab's loading still says whether its page has finished loading. vimma-ctl open and send-keys act on the focused window, so with the private workspace focused they load into it and type there.
  • Diagnostics: about:vimma and :bug in a normal window leave private windows out, and keys typed in a private window are never added to their key log.
  • What a private window does not hide: the clipboard (copy mode's y copies to the system clipboard, as in Firefox). Its window title, which your window manager, its bar and screen sharing see, is only Vimma Private Browsing, never the page's title (see Privacy defaults).
  • Permanent private browsing (browser.privatebrowsing.autostart) makes every window private, so there is no private workspace: the key and :private close say every window is private (permanent private browsing) and do nothing, and private windows behave as in Firefox (no workspaces, no ◆ private). A policy that turns private browsing off makes it say private browsing is turned off by policy.

On Hyprland it takes your Vimma window's place. Firefox keeps privacy per window, so the private workspace is a window of its own, but you never see the two side by side: going to it puts the private window exactly where your Vimma window was (same workspace, same tile, same size, fullscreen or floating if it was), and the other tiles keep their sizes. Your normal window waits in a hidden special workspace, special:vimma, and comes back in the same place when you switch back (any of the keys above), when the private window closes (ctrl+b shift+d, ctrl+shift+w, SUPER+W), or when a link from another app arrives. If Vimma quits or crashes meanwhile, the next start shows your normal window as usual: nothing about the swap is written to disk.

  • How: Vimma talks to Hyprland over Hyprland's own socket ($XDG_RUNTIME_DIR/hypr/…), from the browser process only, with a fixed set of commands: move, swap, focus, fullscreen state, float or tile, exact size and position. They carry only window addresses, workspace numbers and sizes, never a page title or URL, and Vimma runs no hyprctl and no other program. To learn which window is which, a new Vimma window carries a random title (vimma- and 32 hex digits) for a moment when it opens. Checked with Hyprland 0.56.2 and a Lua config, as Omarchy has; older configs use the legacy command names, which Vimma also speaks.

  • Grouped or pinned: a grouped (SUPER+G) or pinned Vimma window is not swapped. The private workspace opens beside it in the group, as a group tab, and switching moves the focus.

  • If Hyprland refuses a swap, Vimma shows your normal window, says private: the window manager refused the swap; showing it as a window, and opens the private workspace as a window of its own until the config is next reloaded. about:vimma shows the Hyprland version and which placement is in force, or why it is not swapping.

  • On a busy machine Hyprland can take a moment to see a new window's random title. While Vimma waits for it, up to 2 seconds, the fresh private window shows beside your Vimma window as a tile titled vimma- and 32 hex digits, then takes your window's place.

  • If Hyprland never names a Vimma window (its random title does not show up within 2 seconds), that switch shows the private workspace as a window of its own, the Browser Console says

    private: Hyprland did not name the Vimma window; showing it as a window once, and about:vimma adds (last switch: window not named). The next switch tries again, waiting only half a second so that switches are not held up, until Hyprland names a window again or the config is next reloaded.

  • Never stuck: if a swap cannot be done, for example because you moved the private window to a scratchpad, going back brings your normal window out of special:vimma to the workspace you are on.
  • Opting out: [private] placement = "window" in config.toml (below) opens it as a second window, as on other systems.

On macOS it takes your Vimma window's place too. Going to the private workspace opens the private window exactly where your Vimma window was (same screen, position and size, and zoomed if it was zoomed), with macOS's window animations turned off (zooming may still animate), and hides your normal window. Going back (any of the keys above) shows your normal window where the private window is now, so if you moved or resized the private window, your normal window takes that frame. Your normal window comes back in its place when the private window closes in any way (ctrl+b shift+d, ctrl+shift+w, cmd+shift+w, cmd+w on its last tab, the red close button, File → Close Window), when a link from another app arrives, and when you pick it from the Window menu or the Dock menu if macOS lists it there. If Vimma quits or crashes meanwhile, the next start shows your normal window as usual: nothing about the swap is written to disk.

  • How: no window manager is involved. Vimma's browser process owns both windows and hides and shows them itself, with the same call Firefox uses to hide its windows while it quits. Other normal windows stay on screen: the private workspace replaces one window, not the app.
  • A window that comes back at another size (you resized the other one meanwhile) appears once its page has been drawn at that size, so it does not show the page at its old size first. That takes a frame or two, and never more than 0.3 seconds, even if the page is busy. A window that comes back zoomed, or moves to a screen with another scale, appears at once as before.
  • Full screen: a window in full screen (its own Space) is never hidden. From a fullscreen window, the private workspace opens in a fullscreen Space of its own, and switching moves between the two Spaces, with macOS's animation.
  • If a swap fails, Vimma shows your normal window, says private: the swap failed; showing it as a window, and opens the private workspace as a window of its own until the config is next reloaded. about:vimma says Window manager: none needed (macOS) and which placement is in force.
  • Opting out: [private] placement = "window" in config.toml (below) opens it as a second window.

Elsewhere (Linux without Hyprland, or placement = "window") it is a second window: Vimma opens it at the current window's size (and, on X11 and floating window managers, its position) and focuses it when you switch.

Known limits

Vimma is alpha. What does not work yet, or works with a catch, is listed on the known limits page:

The guide at the top is written for this site; the details are built from Vimma's docs/guide.md at 92c02d5 (2026-11-25), and the keys from docs/bindings.json at 92c02d5 (2026-11-25).

Keys

This site

Keyboard shortcuts for this website
j kscroll down, up
d uhalf a page down, up
gg Gtop, bottom
/search the docs on a docs page, filter the keys on the keys page; elsewhere, go to the keys filter
] [next, previous docs page
g hgo home
g dgo to the docs
g kgo to keys
g igo to install
g ago to about
?this help; Esc or q closes it, and in here / filters Vimma's keys

In Vimma

Every default binding, grouped as Vimma's own ctrl+b ? groups them. The same list is on the keys page.

Loading…