ft (wip): firefox+librewolf home manager
This commit is contained in:
1 parent
bf31806ab7
commit
869aa84f53
14 files changed
+1639
-47
No files matched your search
@@ -0,0 +1,54 @@
|
||||
{ pkgs, ...}:
|
||||
|
||||
{
|
||||
extensions = {
|
||||
packages = [ pkgs.nur.repos.rycee.firefox-addons.vimium ];
|
||||
settings = {
|
||||
"vimium".settings = { # TODO: check correct
|
||||
exclusionRules = [
|
||||
{ passKeys = ""; pattern = "https?://www.overleaf.com/*"}
|
||||
{ passKeys = ""; pattern = "https?://neetcode.io/*"}
|
||||
];
|
||||
keyMappings = ''
|
||||
# defaults
|
||||
unmap R
|
||||
unmap <c-e>
|
||||
map c LinkHints.activateMode action=hover
|
||||
|
||||
# swap local and global marks
|
||||
map m Marks.activateCreateMode swap
|
||||
map ' Marks.activateGotoMode swap
|
||||
|
||||
# move tab all the way left/right
|
||||
map <a-,> moveTabLeft count=99
|
||||
map <a-.> moveTabRight count=99
|
||||
|
||||
# scrolling
|
||||
map D scrollFullPageDown
|
||||
map U scrollFullPageUp
|
||||
map a scrollDown count=5
|
||||
map d scrollUp count=5
|
||||
map J scrollDown count=5
|
||||
map K scrollUp count=5
|
||||
'';
|
||||
newTabCustomUrl = "web.tabliss.io";
|
||||
newTabDestination = "customUrl";
|
||||
regexFindMode = true;
|
||||
searchEngines = ''
|
||||
b: https://bulbapedia.bulbagarden.net/w/index.php?title=Special%3ASearch&search=%s&go=Go Bulbapedia
|
||||
w: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia
|
||||
d: https://duckduckgo.com/?q=%s Duckduckgo
|
||||
o: https://www.openstreetmap.org/search?query=%s Openstreetmap
|
||||
g: https://www.google.com/search?q=%s Google
|
||||
y: https://www.youtube.com/results?search_query=%s Youtube
|
||||
e: https://www.ecosia.org/search?method=index&q=%s Ecosia
|
||||
a: https://wiki.archlinux.org/index.php?search=%s Archwiki
|
||||
ym: https://music.youtube.com/search?q=%s Youtube Music
|
||||
m: https://www.google.com/maps?q=%s Google maps
|
||||
'';
|
||||
userDefinedLinkHintCss = builtins.readFile ./vimium.css;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||