branch: elpa/raku-mode
commit 3ae6b19b24abcc56488c053e8e717006a69aea12
Author: sumanstats <[email protected]>
Commit: sumanstats <[email protected]>
Make keybindings more understandable
While sending a **line**, C-c C-l is more understandable bcoz we are
sending "l"ine
Similarly while sending **buffer**, C-c C-b feels more rational choice
These kebindings seems more sensible to me
---
README.md | 4 ++--
raku-mode.el | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 792f295ed9..c1ba1c4fc4 100644
--- a/README.md
+++ b/README.md
@@ -62,9 +62,9 @@ with a `.p6`, `.pm6`, or `.pl6` extension. It also applies to
any `.pm`,
Start the REPL with <kbd>M-x run-raku RET</kbd>. The following
keybindings are available to interact with the REPL:
-* <kbd>C-c C-c</kbd>: Send the current line to the REPL
+* <kbd>C-c C-l</kbd>: Send the current line to the REPL
* <kbd>C-c C-r</kbd>: Send the selected region to the REPL
-* <kbd>C-c C-h</kbd>: Send the whole buffer to the REPL
+* <kbd>C-c C-b</kbd>: Send the whole buffer to the REPL
The REPL will start if needed with this keybindings.
diff --git a/raku-mode.el b/raku-mode.el
index b42113e86d..75d4e0e724 100644
--- a/raku-mode.el
+++ b/raku-mode.el
@@ -46,9 +46,9 @@
(defvar raku-mode-map
(let ((map (make-sparse-keymap)))
- (define-key map (kbd "C-c C-c") 'raku-send-line-to-repl)
+ (define-key map (kbd "C-c C-l") 'raku-send-line-to-repl)
(define-key map (kbd "C-c C-r") 'raku-send-region-to-repl)
- (define-key map (kbd "C-c C-h") 'raku-send-buffer-to-repl)
+ (define-key map (kbd "C-c C-b") 'raku-send-buffer-to-repl)
map)
"Keymap for `raku-mode'.")