emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/engine-mode fac252e11d 19/71: Add documentation for redefi


From: ELPA Syncer
Subject: [nongnu] elpa/engine-mode fac252e11d 19/71: Add documentation for redefining the keymap prefix
Date: Wed, 21 Dec 2022 09:59:05 -0500 (EST)

branch: elpa/engine-mode
commit fac252e11dd38fe89d6285a12352fee0e4d31b00
Author: Harry Schwartz <hello@harryrschwartz.com>
Commit: Harry Schwartz <hello@harryrschwartz.com>

    Add documentation for redefining the keymap prefix
---
 README.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/README.md b/README.md
index 3cd205a4a4..8876e33ebc 100644
--- a/README.md
+++ b/README.md
@@ -60,6 +60,20 @@ contains a comprehensive list of possible browsing 
functions. You can
 get to that by hitting `C-h v browser-url-browser-function <RETURN>`
 and following the link to `browse-url.el`.
 
+## Changing the keymap prefix
+
+The default keymap prefix for `engine-mode` is `C-c /`. If you'd like
+to use a different prefix (say, `C-c s`), you can redefine it:
+
+```emacs
+(setq engine/keymap-prefix (kbd "C-c s"))
+```
+
+Make sure you redefine the keymap prefix *before* you define your
+engines. `defengine` uses the prefix internally, so if you change the
+prefix after defining your engines you'll find that they still use the
+old prefix.
+
 ## Importing keyword searches from other browsers
 
 Since many browsers save keyword searches using the same format as



reply via email to

[Prev in Thread] Current Thread [Next in Thread]