Vimma

Bookmarks

Vimma uses Firefox's own bookmarks, the ones you imported, synced or see in the Library, and gives them keys: one to file a page, one to open a panel where you find it again. Each workspace has its own folder of them.

Bookmark a page

  1. Press ctrl+b a. A prompt opens at the bottom of the window with the page's title in it.
  2. The bookmark goes into the current workspace's folder: in the work workspace, that is Bookmarks Toolbar → work. To file it in a subfolder, type the folder path in front of the title, separated by /, as in docs/My page. Missing folders are created, and Tab completes a folder name. A leading @ names another workspace: @shop/deals/Cart files it in the shop workspace's folder.
  3. Press Enter to save, or Esc to cancel.

A page that is already bookmarked shows where it is; edit the path to move or rename it. Renaming a workspace renames its folder; deleting one asks whether to keep, move or delete its bookmarks.

Find a bookmark

ctrl+b shift+b opens the current workspace's bookmarks as a tree on the left of the window, and follows you when you switch workspace (root under [bookmarks] in config.toml widens it to the whole toolbar, or to every bookmark). The quickest way to a bookmark is /: type a few letters of its title, address or folder.

ToPress
Move down / upj / k
Open a folder / close itl / h
Open the bookmark here and close the panelEnter
Open it in a new background tabt
Open it in a split right / belows / S
Filter everything/
Close the panelEsc

Tidy up from the panel

ToPress
Add this page in the highlighted foldera
Add a folderA
Rename / move / deleter / m / d
Copy the bookmark's addressy

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.

Bookmarks (16)

ActionKeysName
Open / close the bookmarks panelctrl+b shift+btoggle_bookmarks
Bookmark this page (folders/title files it in folders)ctrl+b aadd_bookmark
Open a bookmark by title (picker; runs a bookmarklet)no default keyopen_bookmark
Open a bookmark by title in a new tab (picker)no default keyopen_bookmark_tab
Bookmarks: close the folder, or go to its parenthpanelbookmarks_collapse
Bookmarks: open the folder or the bookmarklpanelbookmarks_expand
Bookmarks: open in a new background tabtpanelbookmarks_open_tab
Bookmarks: open in a split rightspanelbookmarks_vsplit
Bookmarks: open in a split belowSpanelbookmarks_hsplit
Bookmarks: add this page here (a/b/ makes folders)apanelbookmarks_add
Bookmarks: add a folder hereApanelbookmarks_folder
Bookmarks: renamerpanelbookmarks_rename
Bookmarks: move to a folderno default keybookmarks_move
Bookmarks: delete (asks y/N)dpanelbookmarks_delete
Bookmarks: copy the URLypanelbookmarks_yank
Bookmarks: filter/panelbookmarks_filter

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.

Vimma's bookmarks are Firefox's: what you imported, what Sync brings and what the Library shows. Vimma keeps no list of its own; it gives you keys to reach them. The one exception is bookmarks in a file: bookmarks.toml, which Vimma mirrors into Firefox's bookmarks.

One folder per workspace. Each workspace owns a folder in the Bookmarks Toolbar, named after it: work's bookmarks live in Bookmarks Toolbar → work. The folder is made when you add the workspace's first bookmark, or adopted when a toolbar folder of that name is already there. Vimma remembers it by its id, not only its name: renaming the workspace (:wsrename) renames the folder, and a folder renamed in the Library stays the workspace's. A workspace from config.toml and one made with :wsnew work the same.

Bookmark a page from anywhere: ctrl+b a (or :bookmark). A prompt opens at the foot of the window with the page's title and the cursor before it, in the current workspace's folder. Type folders in front of the title, separated by /: in work, docs/My page files the page in Bookmarks Toolbar → work → docs, and makes the folders that are not there yet. Tab completes a folder name (again: the next match). Enter saves, Esc cancels. A path ending in / files the page in that folder under its title. :bookmark docs/My page saves at once, without the prompt. Start a path with @name/ for another workspace's folder: @shop/deals/Cart; Tab after @ completes workspace names.

If the page is bookmarked already, Vimma says where (already bookmarked: docs/My page, or @shop/deals/Cart in another workspace) and the prompt changes to move/rename: with that path: edit it and press Enter to move or rename the bookmark, or Esc to leave it. A bookmark outside every workspace folder (in the Menu, Other Bookmarks or loose in the toolbar) is named by its path from the Menu, and the prompt offers its title alone: Enter moves it into this workspace. Only http, https, file and about: pages can be bookmarked this way.

The bookmarks panel: ctrl+b shift+b or :bookmarks opens your bookmarks on the left, where the side panel opens; one of the two shows at a time. It works like neo-tree over the current workspace's folder: its bookmarks and subfolders are the top level, with no folder row around them, and the header shows the workspace's name. Switch workspace and the panel follows. An empty folder shows a note saying what the panel shows, that a adds the current page, and how to see the rest.

Bookmarks outside workspace folders (loose in the toolbar, in the Menu or in Other Bookmarks) do not show in a workspace's panel. To see them, set root in config.toml:

[bookmarks]
root = "toolbar"    # the whole Bookmarks Toolbar; "all": every bookmark; default "workspace"

With "toolbar" the panel is the toolbar's contents, workspace folders and loose bookmarks alike, and paths count from the toolbar. With "all" it is the Bookmarks Menu's folders and bookmarks, with toolbar and other (and mobile, when you have some) as the first folders, and paths count from the Menu (start one with toolbar/ or other/ for those). A private window, which has no workspaces, shows the toolbar.

Deleting a workspace (:wsdelete, ctrl+b shift+d) asks y/N as usual (Managing workspaces); when the workspace has bookmarks, a second question asks what becomes of them: k (or Enter) keeps its folder in the toolbar, no longer linked to a workspace; m moves them into another workspace's folder (it names which); d deletes them. Esc or any other key closes nothing. Nothing is deleted unless you press d.

KeyWhat it does
j / kMove down / up; 4j moves four rows.
gg / GGo to the first / last row.
ctrl+d / ctrl+uMove half the rows shown down / up; with a count, that many rows.
lOpen the folder (again: go into it). On a bookmark: open it in this tab.
hClose the folder; inside one, go to its folder and close that. 3h goes up three.
EnterOpen the bookmark in this tab and close the panel; on a folder, open or close it.
tOpen the bookmark in a new tab behind this one; the panel stays open for more.
s / SOpen it in a new pane right / below (as ctrl+b v / -, at most 8 panes).
aAdd this page in the highlighted folder, as a path. As in neo-tree, a/b/ makes folders.
AAdd a folder there.
rRename.
mMove to a folder: type its path (Tab completes); @name/… is another workspace's.
dDelete, after y/N. A folder says how many items go with it.
yCopy the bookmark's address.
/Filter every bookmark by title, address or folder, letters in order. Enter keeps it.
IClose the panel and focus the address bar.
Esc, ctrl+b shift+bClose the panel. With a filter, Esc clears it first.

A bookmark opens in your current workspace's container, and in a private window it stays private. data: bookmarks are listed but do not open from Vimma.

Bookmarklets (javascript: bookmarks) run their code in the page you are on, with that page's rights. They are listed but do not run unless you choose so in config.toml:

[bookmarks]
bookmarklets = "user"    # "none" (the default), "user", or "agent"

With "user", Enter or l on a bookmarklet runs it in the current tab's page, as clicking it in Firefox would, and closes the panel; t, s and S say to use Enter, since in a new tab it would run on an empty page. It runs only on web pages (http, https and local files), never on the start page or about: pages. With "agent", an agent may also ask to run one by its title, asking you every time (Running one of your bookmarklets). Text you type never runs as a bookmarklet at any level: :open javascript:… and a bookmark keyword that leads to a bookmarklet stay refused. Changes made elsewhere (the Library, Sync, another window) show in the panel at once. With root = "all", the four top folders cannot be renamed, moved or deleted. The panel remembers which folders you opened until Vimma quits.

Open a bookmark by its title: :bookmarkopen Google Shopping opens the bookmark with that title in this tab, as Enter in the panel does; :bookmarktab opens it in a new tab in front. Tab completes both names. Case does not matter, and it finds bookmarks in every folder, whatever the panel shows. When part of a title matches, or several bookmarks share the title, a picker opens with your text typed: keep typing to narrow it, ctrl+n / ctrl+p to move, Enter to open, Esc to close. :bookmarkopen alone lists every bookmark. A bookmarklet opened this way follows the bookmarklets setting above, as in the panel; :bookmarktab never runs one. The text you type only picks among your bookmarks by title: it is never opened as an address, and a bookmark without a title is reached through the picker.

To reach a bookmark with one key, bind the command in config.toml; quote a title with spaces:

[modal.normal]
"<M-g>" = ":bookmarkopen 'Google Shopping'"
"<M-j>" = ":bookmarkopen 'Dark mode'"    # a bookmarklet, with bookmarklets = "user"

A quoted trailing space stays in the picker's query: ":bookmarkopen 'work '" opens the picker with work typed, so the next word you type narrows those matches instead of joining work.

Counts work as in the side panel, except that a folder tree has no fixed row numbers: the rows shift as folders open and close. So the bookmarks panel shows no numbers by default, and 4G and 4 Enter ignore the count. With [panel] numbers = "relative" or "hybrid" each row shows its distance from the highlight (0 on the highlighted row), so you can read off the count for j and k.

Bookmarks in a file

Keep a workspace's bookmarks in bookmarks.toml, a plain file beside config.toml, and carry them between machines in the same git repository as the rest of your setup. Every URL in the file goes wherever the file goes: into each commit and every remote that holds it. URLs often carry tokens (?token=, a session id, user:pass@), so keep bookmarks.toml in a private repository, or list it and its backups in .gitignore (bookmarks.toml and bookmarks.toml.bak*) while you publish config.toml. Vimma does not strip anything from a URL: a bookmark is the address you saved.

From Firefox's bookmarks to the file. Your workspaces' bookmarks are already in Firefox (imported from another browser, or saved with ctrl+b a). To move them into the file:

  1. Type :bookmarks export. Vimma writes bookmarks.toml beside config.toml (readable by you only) with one table for each workspace that has a folder in the Bookmarks Toolbar, in the workspace picker's order and each folder's own order, and opens it in a tab. The notice says how many bookmarks it wrote and what it left out: bookmarks outside the workspaces' folders (the Menu, Other Bookmarks, loose in the toolbar), data: addresses, and anything else the file cannot hold. A bookmark without a title is written under its address, and a second bookmark of one name in a folder as Title (2); Firefox's copy is renamed to match, and stays renamed if you later delete the file or type :bookmarks forget. A bookmark left out of a workspace's folder stays in Firefox: the first load asks before it would delete it. n keeps it, but also pauses the whole file until it changes again, so nothing is mirrored meanwhile. Move data: bookmarks out of the workspaces' folders before you export, and the load has nothing to ask.
  2. Read the file. A bookmarklet is exported too (it is yours), but reaches Firefox from the file only while [bookmarks] bookmarklets allows it; Firefox keeps the one it has either way.
  3. Commit it, to a private repository, or list bookmarks.toml and bookmarks.toml.bak* in .gitignore as above. From now on the folders and the file follow each other (with write_back = "vimma", the folders follow the file).

:bookmarks export never replaces a file that exists: it says what the file holds and that :bookmarks export! replaces it. :bookmarks export! asks first (replace bookmarks.toml (12 bookmarks in "work") with 30 bookmarks from Firefox, keeping the old file as bookmarks.toml.bak? y/N; keys typed in the first second it shows are not an answer), keeps the old text in a new backup readable by you only (bookmarks.toml.bak, then bookmarks.toml.bak.2 and so on, so no backup ever replaces an older one; none when the newest already holds that text), and writes nothing, backup included, if the file changes while it asks. A table the file already mirrors is exported from its folder even when no workspace has that name, so export! never drops one. A private window exports nothing. Tab after :bookmarks completes export, export! and forget.

Vimma reads bookmarks.toml from the folder that holds config.toml (~/.config/vimma/, or the folder of a config.toml that is a link, such as a stow folder of links). Without the file nothing changes. Each [bookmarks.<workspace>] table is that workspace's folder in the Bookmarks Toolbar, and each line is one bookmark: its path, written as for ctrl+b a, and its URL.

[bookmarks.work]
"docs/Vimma guide" = "https://vimma.dev/docs"
"docs/Firefox source" = "https://searchfox.org/"
"Calendar" = "https://calendar.example.com/"
"archive/" = ""                       # an empty folder

[bookmarks."my shop"]
"Cart" = "https://shop.example/cart"
  • Order. The folder shows the lines in file order; a folder sits where its first line is.
  • Paths. / separates folders, \/ is a slash in a name (TOML writes the backslash twice), and names match exactly: Docs/ and docs/ are two folders. A key ending in / with the value "" is an empty folder.
  • Live. Save the file, or git pull, and the folders follow within about 3 seconds in every window; :source reads it at once. A table for a workspace that does not exist yet still gets its folder, which the workspace takes when you make it.
  • Vimma's keys write the file. In a mirrored folder, ctrl+b a and :bookmark, the panel's a, A, r, m and d, and the move/rename: prompt of a page you bookmarked edit the file first and Firefox's bookmarks after it, so the two never disagree. The edit changes only the lines it is about: your comments, blank lines and the order of everything else stay as they are. A new bookmark goes after the last line of its folder, or at the end of the table for a new folder. :wsrename renames the table's header, and :wsdelete's m moves its lines into the other workspace's table (or out of the file) and d removes the table. A name the folder already has is written as Title (2) (then (3)), in the file and in Firefox, and the notice says so, because a table cannot hold one name twice; a page without a title is filed under its address. Bookmarks outside the mirrored folders work as before.
  • Changes made elsewhere in Firefox are written too. A change to a mirrored folder from the Library, the star, the bookmark menus, an add-on, an import or Sync (an add, a removal, a move into, out of or within it, a new name or URL) is written to the file a second after the last change of its burst, as one edit that keeps your comments: a Sync that brings 40 bookmarks is one edit, and git diff shows what it changed. Renaming the workspace's own folder in the Library renames the table's header; deleting it, or moving it off the toolbar's top, removes the table. When the file and Firefox both changed one bookmark since they last agreed, the file wins and Firefox is put back, with a notice (bookmarks.toml kept "work"/docs/Guide; Sync's change put back); a bookmark removed on one side and changed on the other is kept with the change, so a failed or crossed change can leave a bookmark twice, never nowhere. A removal of more than 20 bookmarks, or of more than half of a table's, asks first, as Sync removes 34 bookmarks from "work": remove them from bookmarks.toml? y/N; n, Esc or no answer in a minute puts those bookmarks back from the file, and still writes what the same change added, renamed or moved, so declining never deletes a bookmark Sync just brought.
  • write_back. [bookmarks] write_back in config.toml says what reaches the file: "all" (the default) writes every change, Vimma's keys' and Firefox's; "vimma" writes only Vimma's own and puts every other change back from the file a second later, with a notice (bookmarks.toml: Firefox change to "work" put back (write_back = "vimma")), so the file stays under your hand and Vimma's keys; "none" makes the file the only way to change these bookmarks: the keys say bookmarks.toml is read-only (write_back = "none") there (:wsrename then leaves the folder's name to the table, and :wsdelete keeps the folder), and other changes are put back too. The setting applies at once, and only config.toml can set it, so a file you pulled cannot turn writing on.
  • Private windows. Nothing done in private browsing reaches the file. In a private window the keys never write it (bookmarks.toml is not written from a private window), and under "all" a bookmark added to a mirrored folder from a private window (the star, or a Library a private window opened) stays in Firefox only, and a change to a mirrored bookmark is put back, with a notice. Removals are written. Renaming such a bookmark later from a normal window, changing its address or moving it to another folder writes it to the file; a sort does not, and a folder made in a private window stays out with everything in it. Firefox does not say which window a change came from, so Vimma goes by the window in front: the Library counts as the window that last opened or raised it (with its key, a menu or the bookmarks button), a bookmark dialog as the window that opened it, and a change an add-on makes as the window you are in.
  • Two devices. With Firefox Sync on two machines, each machine writes what Sync brings into its own file under "all". Under "vimma" or "none", or when both machines change one bookmark at once, one puts the other's change back. When one bookmark has been put back three times in ten minutes, its table pauses both ways and the status bar says so; edit the file (or git pull) to go on. Carry mirrored folders with one of git or Sync, not both: with both, git pull finds the change Sync already wrote and refuses to merge.
  • What the file keeps out. Separators, tags and keywords in a mirrored folder are kept as they are. A bookmark the file cannot hold (a data: or place: address, a bookmarklet while bookmarklets are off, a path deeper than 32 folders) stays in Firefox only, with a notice once, and no edit of the file removes it. A folder whose name is empty is written as (untitled), and a bookmark without a title under its address.
  • Bookmarklets. A javascript: line reaches Firefox's bookmarks only while config.toml says [bookmarks] bookmarklets = "user" (or "agent"), because a bookmark there runs from Firefox's Library and toolbar with one click. A file you pulled from someone else therefore cannot add a script to your bookmarks unless you allowed bookmarklets; count a file an agent wrote, or one a tool you ran changed, as someone else's. Lines hold only http, https, file, about and javascript: addresses; anything else (data:, chrome:, view-source:, …) is an error. Settings are read only from config.toml: bookmarks.toml holds tables and nothing else.
  • Limits. A file holds at most 20,000 bookmarks and folders (the folders its paths make count too), paths at most 32 names deep, and names without control, bidirectional or invisible characters; a table name has no spaces at its ends. A file over 4 MiB is not read.
  • Deleting. Every load that removes bookmarks says how many (bookmarks.toml: 3 bookmarks removed from "work"). One that would remove more than 20, or more than half of a table's, asks first, whether the lines left the file or the bookmarks came in from Sync or the Library and are being put back. The question waits until the window's command line and prompts are closed and no page field has your keys, and ignores keys for a second as it appears, so a y typed into a page never answers it. y applies what it showed, and asks again if there is more by then; n, Esc or no answer in a minute keeps every bookmark and pauses the mirror until the file changes again. A table you add for a folder that already has bookmarks takes the folder over and writes the bookmarks the table lacks to its end, so nothing is deleted; with write_back = "none", or for a bookmark the file cannot hold, it asks before it deletes any. A shared table named like one of your own folders takes that folder's bookmarks into the shared file this way: give shared tables names of their own, or use write_back = "none" with a file you share. Many small edits each under the limits are not asked about: the notices say what each removed.
  • Errors. A file with an error is not applied at all: the status bar shows the first, as bookmarks.toml:<line>: <message>, and the Browser Console lists them all. A file that goes missing pauses the mirror too (bookmarks.toml is missing; bookmarks paused), so a moved or renamed file never empties your folders; so does a missing config.toml that held the tables. Put the file back, or type :bookmarks forget to stop mirroring: Firefox keeps every bookmark, the keys work in those folders again, and the mirror starts again only when the bookmarks in the file change (an unrelated config.toml edit or a restart does not).
  • One small file. For a small setup, the same tables can go in config.toml itself, after [bookmarks]. Once bookmarks.toml exists it is the only bookmarks file, and tables in config.toml are ignored with a warning. bookmarks.toml is the better home: an older Vimma refuses a config.toml that has these tables.
  • Recovery. The file is the source for its folders, so recover them in the file: undo the edit, or git revert the commit, and the folders follow. A Library restore into a mirrored folder is written to the file under "all" (asked first when it removes many) and put back under "vimma" and "none". When Firefox made a new bookmarks database at start-up and restored a backup, the first load writes nothing back. Firefox's daily bookmark backups (Library → Import and Backup → Restore) still recover everything outside the mirrored folders, and the mirrored ones after :bookmarks forget.

Firefox's Bookmarks Toolbar

Firefox's Bookmarks Toolbar, the row of bookmarks under the address bar, is hidden by default, on the start page and new tabs too, and stays hidden when you import bookmarks from another browser. Your bookmarks are in the panel (ctrl+b shift+b) and in the Bookmarks Toolbar folder either way: hiding the toolbar hides a view, not a bookmark. A profile that showed the toolbar before this default has it hidden once, with a notice that says how to bring it back.

  • :bookmarkstoolbar shows or hides it in every window, as Firefox's ctrl+shift+b does (also a Vimma binding: Firefox's own shortcuts). :bookmarkstoolbar show, hide and newtab set it either way; newtab shows it only on the start page and new tabs. Tab completes the three words. The notice says bookmarks toolbar shown, hidden or shown on new tabs.
  • Firefox's View → Toolbars → Bookmarks Toolbar menu and the toolbar's context menu work as in Firefox. Any of these choices lasts across restarts.
  • config.toml: [ui] bookmarks_toolbar = "shown", "hidden" or "newtab" sets it in every window at startup and when you change that line; another change lasts until then, and its notice adds (config.toml sets "…"; until restart). Left out, the choices above decide.
  • Customize → Restore Defaults sets Firefox's own default, the toolbar on new tabs; :bookmarkstoolbar hide hides it again.
  • With the toolbar hidden, the default, the bookmarks toolbar hides with it, and the notice that shows it adds the toolbar is hidden: :toolbar show.
  • Kept your bookmarks_toolbar = "shown" from before the toolbar was hidden by default? If config.toml shows the bookmarks toolbar ("shown" or "newtab") and has no [ui] toolbar line, Vimma says once, the next time it reads config.toml and until you press a key, that the hidden toolbar hides it too: :toolbar show (or ctrl+b u) shows both, and [ui] toolbar = "shown" in config.toml keeps them shown. Writing either toolbar value means you have chosen, so there is no notice.

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…