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
- Press ctrl+b shift+n. The command line opens with
:wsnewtyped for you. - Type a name, such as
work, and press Enter. You are now in it: the status bar shows● 2:work. - Sign in to something. Press ctrl+b ( to go back to
main: you are not signed in there. - ctrl+b ) takes you forward to
workagain.
Workspace keys
| To | Press |
|---|---|
| Next / previous workspace | ctrl+b ) / ctrl+b ( |
| Pick from a list | ctrl+b w |
| Back to the previous workspace; press again to toggle | ctrl+^, 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 workspace | ctrl+b shift+n |
| Close this workspace | ctrl+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:
:waadds one and:wdcloses one, as:baddand:bddo. - 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.
- Press ctrl+b shift+p (or ctrl+shift+p, or
:private). The private workspace opens, and the status bar says◆ private. - Browse as usual: hints, find, splits, copy mode and the side panel work as in any workspace.
- Press ctrl+b shift+p again, or ctrl+^, to go back to where you were. The private workspace stays open, one key away.
- When you are done, ctrl+b shift+d in it (or
:private closeanywhere) 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
- Go to a site that belongs in a workspace, such as
github.com. - Type
:route add workand press Enter. Vimma appends a rule for the site toconfig.toml, as long as the file has no errors. - 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
| To | Type |
|---|---|
| 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 movetakes 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 needBROWSER=vimma-open. A link from an app Vimma cannot identify, a Flatpak for example, follows only thedomainandurlrules. 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)
| Action | Keys | Name |
|---|---|---|
| Next workspace | ctrl+b )]w | next_workspace |
| Previous workspace | ctrl+b ([w | previous_workspace |
| Previous workspace you were in; again toggles back (Vim's ctrl+^) | ctrl+b ^ctrl+b ctrl+6ctrl+^ctrl+6 | last_workspace |
| Switch to a workspace by name or number | no default key | switch_workspace |
| Workspace picker | ctrl+b w | workspace_picker |
| New workspace | ctrl+b shift+n | new_workspace |
| Rename workspace | ctrl+b shift+w | rename_workspace |
| Close workspace | ctrl+b shift+d | close_workspace |
| Move the tab to another workspace (reopens it there) | no default key | move_to_workspace |
| Routing rules: list them; :route add [workspace], :route move | no default key | route_rules |
| Private workspace (a private window); again goes back | ctrl+b shift+pctrl+shift+p | private_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]inconfig.toml, then the ones you made), skipping the agent workspace, wrapping around, as tmux's session keys do, from every mode;:workspace workor:workspace 2goes 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+0on a US keyboard,shift+8/shift+9on a Finnish one.ctrl+^(orctrl+6,ctrl+b ^) goes back to the workspace you were in before, and again toggles back (Workspaces as Vim buffers).ctrl+b w(or:workspacewith no name) opens the workspace picker.ctrl+b bor:sidebaropens 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+taband 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
foreigntab: 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, asctrl+tdoes. - Site permissions are per workspace, like logins: a camera, microphone, location or notification permission you give a site in
workdoes not apply to the same site inmainor any other workspace (Vimma setspermissions.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:
| Vim | Vimma | What it does |
|---|---|---|
ctrl+^ | ctrl+^, ctrl+6, ctrl+b ^ | Back to the workspace you were in before; toggles. |
]b / [b (unimpaired) | ]w / [w | Next / 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 / :wp | Next / previous workspace. |
:bd [name] | :wd [name] | Close this (or the named) workspace; asks y/N. |
:badd name | :wa name | New workspace; you switch to it. |
:ls | :workspaces, ctrl+b w | The 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 asprefix+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 saysno previous workspace in this window. Closing the previous workspace forgets it. ctrl+^andctrl+6work in normal mode; in a text field they are the page's.ctrl+b ^andctrl+b ctrl+6work 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 asDead, not^(with or withoutctrl), soctrl+^andctrl+b ^never arrive. Usectrl+6andctrl+b ctrl+6there, as Vim users on those layouts already do.]and[areAltGr+9/AltGr+8on a Finnish keyboard;]wand[wmatch them (Keyboard layouts).]wand[ware normal-mode keys;]then waits for the next key, asgdoes.Tabafter:ws,:wdor:wsmovecompletes workspace names.- Every one of these keys can be changed in
config.toml:last_workspace,next_workspaceandprevious_workspaceunder[keys], and"<C-^>","<C-6>","]w","[w"under[modal.normal]. Thectrl+b ?overlay shows the keys you have.
Managing workspaces
| Keys | Command | What it does |
|---|---|---|
ctrl+b shift+n | :wsnew shop, :wa shop | New workspace, with a container of its own; you switch to it. |
ctrl+b shift+w | :wsrename market | Rename 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 2 | Move the current tab to another workspace, by name or number. | |
ctrl+b shift+p | :private, :priv | Go to the private workspace; again goes back. |
:private close | Close 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+wwith the current name to edit). - Closing asks first, at the foot of the window:
ycloses, 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]inconfig.tomlcannot be deleted while it is listed there: closing it closes its tabs only, and it keeps its logins. Renaming one is done inconfig.tomltoo. The last workspace cannot be closed. If the workspace changes between the question and youry(sayconfig.tomlwas 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 2and:workspace 2a number means the workspace's place in workspace order.config.tomlcan still name one2in[workspaces]; then2means 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=falseinabout: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 totrueand 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.
| Key | What it does |
|---|---|
j / k, arrows | Move down / up. |
/ | Search: type to filter by name; Esc goes back to j/k. |
Enter | Switch to the selected workspace. |
m | Move the current tab to the selected workspace (asks first). |
Esc / q | Close 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.
Routing: which workspace a link opens in
[[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"
domainmatcheshttpandhttpspages only, on whole labels (github.comis notnotgithub.com), whatever the port; Unicode names work written either way (bücher.exampleorxn--bcher-kva.example), and an IP address matches only itself.appis the name of a program that opened the link, asvimma-opensees it (below), up to 64 characters.Order is the precedence. Put the rule that matters most first: with
app = "slack"abovedomain = "youtube.com", a YouTube link from Slack goes towork. Amongapprules above the first matching rule withoutapp, the one naming the program nearest the link wins, whatever their order: a link from a herdr pane in Ghostty matchesapp = "herdr"beforeapp = "ghostty". Anapprule below a matching rule withoutappnever applies to that link.A rule naming a workspace that does not exist is skipped (
:routesays 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_workspacesays, when you set it:[routing] default_workspace = "work" # links from other programs that no rule matchesLeft 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,zellijorherdr. Write a rule for the multiplexer, as theherdrrule 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.tomlstill 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. Onlydomainandurlrules 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 asshadowed by rule N. You can also runvimma-open https://example.comfrom 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.
| Command | What it does |
|---|---|
:route | Opens 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 work | Adds a domain rule for this site (its host without www.) to the end of the routes file, for this or the named workspace. |
:route move | Moves 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 inconfig.toml; any other key is an error. - When it exists, it is the routes file. Its rules and
[routing]replaceconfig.toml's as a whole: rules or adefault_workspaceleft inconfig.tomlare ignored, and the status bar says so at their first line.:route addthen appends toroutes.toml. - Edits apply within two seconds, as
config.toml's do, and:sourcereads it at once. Aroutes.tomlwith an error keeps the last rules that read well while the rest ofconfig.tomlapplies; the status bar showsroutes.toml:<line>: …. Only a regular file (or a link to one) of up to 1 MiB is read. - Deleting it makes
config.tomlthe routes file again at the next check. Agit checkoutthat removes it for a moment can applyconfig.toml's rules until it is back. - Moving your rules: create
routes.tomlbesideconfig.toml(touchit, thenchmod 600it), cut the[[routes]]tables and the[routing]table out ofconfig.tomland paste them into it in the same order, and save both. The status bar names anything left behind inconfig.toml. Back: move them intoconfig.tomlagain and deleteroutes.toml. - Trust. A
routes.tomlyou pull from a repository decides which workspace, and so which logins, a site opens with, just as a pulledconfig.tomldoes: 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.
| Keys | Command | What it does |
|---|---|---|
ctrl+b shift+p, ctrl+shift+p | :private | Go to the private workspace, opening it if it is not open; in it, go back. |
ctrl+b shift+d (in it) | :private close | Close 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 | :workspaces | The 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 thectrl+^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), andctrl+b blists its tabs under a◆ privatehead. 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+cin 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+dor:wdin it, or:private closeanywhere) asksClose 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: yourywas 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 orctrl+shift+wasks 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, thenP). 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 statein the private workspace says"private": trueand"workspace": "private", and gives every tab'surlandtitleasnull; each tab'sloadingstill says whether its page has finished loading.vimma-ctl openandsend-keysact on the focused window, so with the private workspace focused they load into it and type there. - Diagnostics:
about:vimmaand:bugin 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
ycopies to the system clipboard, as in Firefox). Its window title, which your window manager, its bar and screen sharing see, is onlyVimma 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 closesayevery 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 sayprivate 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 nohyprctland 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:vimmashows 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 windowonce, andabout:vimmaadds(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:vimmato the workspace you are on. - Opting out:
[private] placement = "window"inconfig.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:vimmasaysWindow manager: none needed (macOS)and which placement is in force. - Opting out:
[private] placement = "window"inconfig.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).