aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2022-09-17 20:14:20 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-03-15 12:18:38 +0100
commit6ad983f0ccc50a686b6610bd2f3b425bd304bcd8 (patch)
tree691bd6057969db4fc6a4c635374ed00d88a1fe6a
parent5fd4c9ffe9376a7671d93ce1fee7d210a64958d1 (diff)
fix: Change default nyxt-map binding
-rw-r--r--README2
-rw-r--r--nyxt.el4
2 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index 5e20712..b2c681a 100644
--- a/README
+++ b/README
@@ -28,6 +28,6 @@ By default, this package will spawn a Nyxt process with the =-e (start-slynk)= a
"--" "path/to/nyxt/nyxt" "-e" "(start-slynk)"))))
#+end_src
-If you'd like to bind the default keybindings provided under the ~C-c x~ prefix keymap, ensure to include =nyxt-default-keybindings= in your Emacs initialization file.
+If you'd like to bind the default keybindings provided under the ~C-c y~ prefix keymap, ensure to include =nyxt-default-keybindings= in your Emacs initialization file.
You can use the project's [[https://lists.sr.ht/~conses/nyxt.el][mailing list]] to send feedback, patches or open discussions. Bugs should be reported on the project's [[https://todo.sr.ht/~conses/nyxt.el][bug-tracker]].
diff --git a/nyxt.el b/nyxt.el
index 71da624..8cf1873 100644
--- a/nyxt.el
+++ b/nyxt.el
@@ -257,9 +257,9 @@ If ROAM-P, store it in the corresponding Org Roam capture TEMPLATE."
;;;###autoload
(defun nyxt-default-keybindings ()
- "Bind the `C-c x' prefix to `nyxt' commands."
+ "Bind the `C-c y' prefix to `nyxt' commands."
(interactive)
- (define-key mode-specific-map "x" 'nyxt-map))
+ (define-key mode-specific-map "y" 'nyxt-map))
(define-prefix-command 'nyxt-map)
(let ((map nyxt-map))