branch: elpa/raku-mode
commit 02bf289149099b385a08e11ce993634a3e7e6666
Merge: 8a6e17f174 460b477ba2
Author: Matias Linares <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #45 from sumanstats/master
About keybindings
---
README.md | 8 +++++---
raku-mode.el | 4 ++--
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 792f295ed9..5dbdb56f65 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,8 @@ This mode needs GNU Emacs 24.4.
* Complete syntax highlighting
* Better indentation support (uses Emacs SMIE grammar, see the Emacs manual)
+* Autocompletion
+* Possible integration with Raku language server
* Help system
* ETags support
* `find-file-at-point` for module names
@@ -62,9 +64,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-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-l</kbd>: Send the current **l**ine to the REPL
+* <kbd>C-c C-r</kbd>: Send the selected **r**egion to the REPL
+* <kbd>C-c C-b</kbd>: Send the whole **b**uffer 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'.")