summaryrefslogtreecommitdiff
path: root/.config/nyxt/keybinds.lisp
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2023-06-12 23:18:41 +0200
committeryuzu-eva <stevenhu@web.de>2023-06-12 23:18:41 +0200
commit1796493a7a9a54ea8e304e75ad4ded8df0d869e3 (patch)
tree173946e764a2aee132883599fc9e2f533ec83741 /.config/nyxt/keybinds.lisp
parent93e56a12d85df2e1aee2af2898728660bbecc6f4 (diff)
change: switched list-buffers and switch-buffer keybind; added my invidious instance as search-engine
Diffstat (limited to '.config/nyxt/keybinds.lisp')
-rw-r--r--.config/nyxt/keybinds.lisp14
1 files changed, 12 insertions, 2 deletions
diff --git a/.config/nyxt/keybinds.lisp b/.config/nyxt/keybinds.lisp
index 3e96620..52087d9 100644
--- a/.config/nyxt/keybinds.lisp
+++ b/.config/nyxt/keybinds.lisp
@@ -1,8 +1,18 @@
(in-package #:nyxt-user)
(define-configuration buffer
- ((override-map (let ((map (make-keymap "my-override-map")))
+ ((override-map (let ((map (make-keymap "custom-map")))
(define-key map
"M-I" 'show-weather
- "C-2" 'open-external-browser)
+ "C-2" 'open-external-browser
+ "C-x C-b" 'switch-buffer
+ "C-x b" 'list-buffers)
map))))
+
+;;;; for some reason this does not work, even though it's from the manual
+;; (define-configuration base-mode
+;; ((keyscheme-map
+;; (define-keyscheme-map "my-base" (list :import %slot-value%)
+;; keyscheme:emacs
+;; (list
+;; "C-x C-b" NIL)))))