summaryrefslogtreecommitdiff
path: root/.config/nyxt/keybinds.lisp
blob: 52087d9373da38ce22623477e4459e8fe4d91a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(in-package #:nyxt-user)

(define-configuration buffer
	((override-map (let ((map (make-keymap "custom-map")))
					 (define-key map
						 "M-I" 'show-weather
						 "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)))))