From a963e0e9c50b4673610c80566b647452c70bcbca Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 14 Aug 2023 18:36:10 +1000 Subject: [nyxt] Some more nyxt keybinding tweaks --- misc/.config/nyxt/config.lisp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'misc/.config') diff --git a/misc/.config/nyxt/config.lisp b/misc/.config/nyxt/config.lisp index 7238e81..669724e 100644 --- a/misc/.config/nyxt/config.lisp +++ b/misc/.config/nyxt/config.lisp @@ -36,6 +36,10 @@ "Set up Emacs keybindings everywhere possible." ((default-modes `(:emacs-mode ,@%slot-value%)))) +(define-configuration :hint-mode + "Set up QWERTY home row as the hint keys." + ((hints-alphabet "ASDFGHJKL"))) + (define-configuration :document-mode "Document mode keybindings." ((keyscheme-map @@ -47,18 +51,24 @@ "F" 'switch-buffer-next "b" 'scroll-left "f" 'scroll-right - "j" 'jump-to-heading + "i" 'jump-to-heading "g" 'reload-current-buffer + "j" 'follow-hint + "J" 'follow-hint-new-buffer "k" 'delete-current-buffer + "l" 'history-bakcwards "n" 'scroll-down "o" 'set-url "p" 'scroll-up + "r" 'history-forwards "w" 'copy-url "<" 'scroll-to-top ">" 'scroll-to-bottom "C-h x" 'describe-command "C-s" :search-buffer "C-z" 'switch-buffer + "M-n" 'next-heading + "M-p" 'previous-heading ))))) (define-configuration :prompt-buffer-mode -- cgit v1.2.3