Firefox

Published Mon 3 Feb 2025.

I use Firefox as my default browser.

You can see my configuration in NixOS here. Having it in Nix is handy so I don’t have to sign into a Firefox account on a live ISO or new machine install in order to get the environment I’m used to.

Tridactyl

I use Tridactyl for many useful Vim-like bindings in Firefox. Similar to Firefox you can see my configuration here.

Some useful bindings are:

  • h j k l scroll

  • f enter ‘hint’ mode, using keystrokes to follow a link

  • F opens a link in a new tab

  • ;w open in a new window

  • ;y copy link

  • v highlights an element of text

    • once here we can use caret mode <F7> to select text
  • yd duplicate tab

  • My custom binding i let’s me copy a link to a URL fragment with hint mode;

    bind i hint -JFc [id] e => { tri.excmds.yank(document.URL.replace(/#.*$/, "") + "#" + e.id) }
    
  • gd / gD detach / reattach tab

  • b for tabs list

  • i_CTRL-i let’s us edit an input box in our system $EDITOR