1234567891011121314151617181920212223 |
- (in-package #:nyxt-user)
- ;;; Add basic keybindings.
- ;;;
- ;;; If you want to have VI bindings overriden, just use `scheme:vi-normal' or `scheme:vi-insert'
- ;;;
- ;;; nyxt/web-mode: is the package prefix. Usually is just nyxt/ and mode name.
- (define-configuration nyxt/web-mode:web-mode
-
- ((nyxt/web-mode::keymap-scheme
- (define-scheme (:name-prefix "web" :import %slot-default%)
- scheme:vi-insert
- (list
- "C-:" 'eval-expression))))
-
- ((nyxt/web-mode::keymap-scheme
- (define-scheme (:name-prefix "web" :import %slot-default%)
- scheme:vi-normal
- (list
- "}" 'nyxt/web-mode:history-forwards-maybe-query
- "i" 'nyxt/input-edit-mode:input-edit-mode
- "C-:" 'eval-expression)))))
|