diff options
author | Thanos Apollo <[email protected]> | 2023-09-30 06:36:43 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-09-30 06:36:43 +0300 |
commit | 6f3378efdb467dda65f7cc6303b66be4dfb26d3c (patch) | |
tree | 51729332a807aa96faa84a2b5a61672fe0c8832c /.stumpwm.d | |
parent | 3219d766f6ed3e839e418bc58f5c8e08eaaf5b13 (diff) |
stumpwm: Add nyxt-map keybindings
Diffstat (limited to '.stumpwm.d')
-rw-r--r-- | .stumpwm.d/keybindings.lisp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/.stumpwm.d/keybindings.lisp b/.stumpwm.d/keybindings.lisp index 9bc1a92..70d6ceb 100644 --- a/.stumpwm.d/keybindings.lisp +++ b/.stumpwm.d/keybindings.lisp @@ -76,9 +76,15 @@ (define-key *root-map* (kbd "M-f") "move-window right") (define-key *root-map* (kbd "M-n") "move-window down") ;; Nyxt -(define-key *root-map* (kbd "s") "nyxt-searxng") -(define-key *root-map* (kbd "M-s") "nyxt-searxng-newb") -(define-key *root-map* (kbd "C-s") "nyxt-http") +(defvar *nyxt-map* + (let ((m (make-sparse-keymap))) + (define-key m (kbd "k") "nyxt-searxng") + (define-key m (kbd "M-l") "nyxt-searxng-newb") + (define-key m (kbd "l") "nyxt-http") + m)) + +(define-key *root-map* (kbd "l") *nyxt-map*) + ;; Productivity (load-module "productivity") (define-key *top-map* (kbd "F7") "productivity-mode-toggle") |