Thicket data repository for the EEG
at main 4.9 kB view raw
1{ 2 "id": "https://ryan.freumh.org/firefox.html", 3 "title": "Firefox", 4 "link": "https://ryan.freumh.org/firefox.html", 5 "updated": "2025-02-03T00:00:00", 6 "published": "2025-02-03T00:00:00", 7 "summary": "<div>\n \n <span>Published 3 Feb 2025.</span>\n \n \n </div>\n \n \n\n <p><span>I use Firefox as my default browser.</span></p>\n<p><span>You can see my configuration in <a href=\"./nix.html\">Nix</a>OS <a href=\"https://github.com/RyanGibb/nixos/blob/ed9ff44afef12350c9e2010cc4e76d6802abb65d/home/gui/default.nix#L90-L159\">here</a>.\nHaving it in Nix is handy so I don’t have to sign into a Firefox account\non a live ISO or new machine install in order to get the environment I’m\nused to.</span></p>\n<h2>Tridactyl</h2>\n<p><span>I use <a href=\"https://github.com/tridactyl/tridactyl/\">Tridactyl</a> for many\nuseful Vim-like bindings in Firefox. Similar to Firefox you can see my\nconfiguration <a href=\"https://github.com/RyanGibb/nixos/blob/master/home/gui/tridactylrc\">here</a>.</span></p>\n<p><span>Some useful bindings are:</span></p>\n<ul>\n<li><p><span><code>h</code> <code>j</code> <code>k</code> <code>l</code> scroll</span></p></li>\n<li><p><span><code>f</code> enter\n‘hint’ mode, using keystrokes to follow a link</span></p></li>\n<li><p><span><code>F</code> opens\na link in a new tab</span></p></li>\n<li><p><span><code>;w</code> open\nin a new window</span></p></li>\n<li><p><span><code>;y</code> copy\nlink</span></p></li>\n<li><p><span><code>v</code>\nhighlights an element of text</span></p>\n<ul>\n<li>once here we can use caret mode <code>&lt;F7&gt;</code> to select text</li>\n</ul></li>\n<li><p><span><code>yd</code>\nduplicate tab</span></p></li>\n<li><p><span>My custom binding <code>i</code> let’s me copy a link to a <a href=\"https://datatracker.ietf.org/doc/html/rfc3986#section-3.5\">URL\nfragment</a> with hint mode;</span></p>\n<pre><code>bind i hint -JFc [id] e =&gt; { tri.excmds.yank(document.URL.replace(/#.*$/, &quot;&quot;) + &quot;#&quot; + e.id) }\n</code></pre></li>\n<li><p><span><code>gd</code> /\n<code>gD</code> detach / reattach tab</span></p></li>\n<li><p><span><code>b</code> for\ntabs list</span></p>\n<ul>\n<li><a href=\"https://github.com/tridactyl/tridactyl/issues/4755\"><code>:set tabsort mru</code></a> for most recent</li>\n</ul></li>\n<li><p><span><code>i_CTRL-i</code> let’s us edit an input box in our\nsystem <code>$EDITOR</code></span></p></li>\n</ul>", 8 "content": "<div>\n \n <span>Published 3 Feb 2025.</span>\n \n \n </div>\n \n \n\n <p><span>I use Firefox as my default browser.</span></p>\n<p><span>You can see my configuration in <a href=\"./nix.html\">Nix</a>OS <a href=\"https://github.com/RyanGibb/nixos/blob/ed9ff44afef12350c9e2010cc4e76d6802abb65d/home/gui/default.nix#L90-L159\">here</a>.\nHaving it in Nix is handy so I don’t have to sign into a Firefox account\non a live ISO or new machine install in order to get the environment I’m\nused to.</span></p>\n<h2>Tridactyl</h2>\n<p><span>I use <a href=\"https://github.com/tridactyl/tridactyl/\">Tridactyl</a> for many\nuseful Vim-like bindings in Firefox. Similar to Firefox you can see my\nconfiguration <a href=\"https://github.com/RyanGibb/nixos/blob/master/home/gui/tridactylrc\">here</a>.</span></p>\n<p><span>Some useful bindings are:</span></p>\n<ul>\n<li><p><span><code>h</code> <code>j</code> <code>k</code> <code>l</code> scroll</span></p></li>\n<li><p><span><code>f</code> enter\n‘hint’ mode, using keystrokes to follow a link</span></p></li>\n<li><p><span><code>F</code> opens\na link in a new tab</span></p></li>\n<li><p><span><code>;w</code> open\nin a new window</span></p></li>\n<li><p><span><code>;y</code> copy\nlink</span></p></li>\n<li><p><span><code>v</code>\nhighlights an element of text</span></p>\n<ul>\n<li>once here we can use caret mode <code>&lt;F7&gt;</code> to select text</li>\n</ul></li>\n<li><p><span><code>yd</code>\nduplicate tab</span></p></li>\n<li><p><span>My custom binding <code>i</code> let’s me copy a link to a <a href=\"https://datatracker.ietf.org/doc/html/rfc3986#section-3.5\">URL\nfragment</a> with hint mode;</span></p>\n<pre><code>bind i hint -JFc [id] e =&gt; { tri.excmds.yank(document.URL.replace(/#.*$/, &quot;&quot;) + &quot;#&quot; + e.id) }\n</code></pre></li>\n<li><p><span><code>gd</code> /\n<code>gD</code> detach / reattach tab</span></p></li>\n<li><p><span><code>b</code> for\ntabs list</span></p>\n<ul>\n<li><a href=\"https://github.com/tridactyl/tridactyl/issues/4755\"><code>:set tabsort mru</code></a> for most recent</li>\n</ul></li>\n<li><p><span><code>i_CTRL-i</code> let’s us edit an input box in our\nsystem <code>$EDITOR</code></span></p></li>\n</ul>", 9 "content_type": "html", 10 "categories": [], 11 "source": "https://ryan.freumh.org/atom.xml" 12}