aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/.config/nyxt/config.lisp12
1 files changed, 11 insertions, 1 deletions
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