commit 220f9be8dd6566457ab7e53190d794d174e77724 Spenser Truex <web@spensertruex.com> 2019-12-04 14:13:59 -0800 Add "Nightly" firefox name. Firefox does not permit usage of its branding name or logo without special consideration. My Gentoo uses "Nightly" as the window name, so I added it. It seems unlikely that this will shadow another program named "Nightly", so it should be okay.
keybindings.lisp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/keybindings.lisp b/keybindings.lisp index 32d0b16..81ee16e 100644 --- a/keybindings.lisp +++ b/keybindings.lisp @@ -17,8 +17,9 @@ ("C-f" . "SPC")) "Basic movement bindings.") (defvar *search* - ;; TODO: get f3 and shift+f3 working for FF/TOR/Okular. - '(("C-s" . "C-f")) + '(("C-s" . "C-f") + ("C-n" . "F3") + ("C-n" . "S-F3")) "Emacs-like searching.") (defvar *firefox* ;; navigation @@ -31,9 +32,6 @@ ("C-g" . "ESC") ("M-x" . "C-j") ; search bar focus ;; find search - ("C-s" . "C-f") ; search in page - ("C-n" . "C-g") ; next match - ("C-p" . "C-G") ; prev match ;; other useful ones: ;; C-pgup/c-pgdown cycle tabs ;; C-w kill tab @@ -41,6 +39,10 @@ "Keybindings for firefox.") (define-remapped-keys `(("Firefox" ,@*firefox*))) +(define-remapped-keys + ;; A branding-free name for firefox + `(("Nightly" ,@*firefox*))) + (define-remapped-keys `(("Tor" ,@*firefox*))) @@ -55,5 +57,5 @@ ("C-s" . "C-f") ("M-w" . "C-c") ("C-y" . "C-v") - ("M->" . "C-End") - ("M-<" . "C-Home")))))) + ("M->" . ("C" "End")) + ("M-<" . ("C" "Home")))))))