Skip to content

Commit

Permalink
Merge remote-tracking branch 'gh/fix-keyscheme-common-settings'
Browse files Browse the repository at this point in the history
  • Loading branch information
aadcg committed Aug 14, 2023
2 parents 98ff8a4 + 3c0942b commit 1bb5a0b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
4 changes: 3 additions & 1 deletion source/changelog.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,9 @@ buffers.")
(:li "Add commands for importing history from other browsers.
Currently, the supported browsers are Firefox, Google Chrome,
Chromium, Brave and Vivaldi.")
(:li "Add Public Sans font and set it as the default.")))
(:li "Add Public Sans font and set it as the default.")
(:li "Fix keyscheme configuration via "
(:a :href (nyxt-url 'common-settings) "Common Settings Menu") ".")))

(define-version "4-pre-release-1"
(:li "When on pre-release, push " (:code "X-pre-release")
Expand Down
19 changes: 11 additions & 8 deletions source/help.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,27 @@ to the next."
Nyxt session to the next.
Note that some settings may require restarting Nyxt to take effect.")
(:h2 "Keybinding style")
(:h2 "Keyscheme (keyboard shortcuts)")
(:nselect
:id "keybinding-style"
:id "keyscheme"
:buffer buffer
'((cua "Use default (CUA)")
'((cua "CUA (default)")
(nyxt::auto-configure
:form '(define-configuration web-buffer
:form '(define-configuration (web-buffer prompt-buffer
panel-buffer nyxt/mode/editor:editor-buffer)
((default-modes (remove-if (lambda (m)
(find (symbol-name (name m))
'("EMACS-MODE" "VI-NORMAL-MODE" "VI-INSERT-MODE")))
%slot-value%))))))
'((emacs "Use Emacs")
'((emacs "Emacs")
(nyxt::auto-configure
:form '(define-configuration web-buffer
:form '(define-configuration (web-buffer prompt-buffer
panel-buffer nyxt/mode/editor:editor-buffer)
((default-modes (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%))))))
'((vi "Use vi")
'((vi "VI")
(nyxt::auto-configure
:form '(define-configuration web-buffer
:form '(define-configuration (web-buffer prompt-buffer
panel-buffer nyxt/mode/editor:editor-buffer)
((default-modes (pushnew 'nyxt/mode/vi:vi-normal-mode %slot-value%)))))))
(flet ((generate-colors (theme-symbol text)
(spinneret:with-html-string
Expand Down

0 comments on commit 1bb5a0b

Please sign in to comment.