Skip to content

Commit

Permalink
Merge pull request #45 from sumanstats/master
Browse files Browse the repository at this point in the history
About keybindings
  • Loading branch information
matiaslina authored Apr 12, 2021
2 parents 8a6e17f + 460b477 commit 02bf289
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions raku-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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'.")

Expand Down

0 comments on commit 02bf289

Please sign in to comment.