chore(firefox): add rc file to configure Tridactyl
This commit is contained in:
parent
325914c977
commit
486f92fb5f
1 changed files with 24 additions and 0 deletions
|
@ -64,6 +64,30 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.configFile."tridactyl/tridactylrc".text = ''
|
||||||
|
sanitize tridactyllocal tridactylsync
|
||||||
|
" Define custom theme
|
||||||
|
set customthemes.custom #completions table, #tridactyl-input {font-size: .9rem!important;};
|
||||||
|
set theme custom
|
||||||
|
" Smooth scrolling
|
||||||
|
set smoothscroll true
|
||||||
|
" Ctrl-F should use the browser's native 'find' functionality.
|
||||||
|
unbind <C-f>
|
||||||
|
" But also support Tridactyl search too.
|
||||||
|
bind / fillcmdline find
|
||||||
|
bind ? fillcmdline find -?
|
||||||
|
bind n findnext 1
|
||||||
|
bind N findnext -1
|
||||||
|
" K and J should move between tabs.
|
||||||
|
bind J tabprev
|
||||||
|
bind K tabnext
|
||||||
|
" Binds for force reader mode
|
||||||
|
bind gfr reader
|
||||||
|
bind gfR reader --tab
|
||||||
|
set editorcmd foot -T "Edit text from Firefox" nvim %f
|
||||||
|
'';
|
||||||
|
|
||||||
programs.firefox = let
|
programs.firefox = let
|
||||||
allExtensions = cfg.baseExtensions ++ cfg.optionalExtensions;
|
allExtensions = cfg.baseExtensions ++ cfg.optionalExtensions;
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue