branch: elpa/rubocop commit 080454efc6e5fcff86ce2bbf34bd6acc6ee301db Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
Add a note about rubocop-keymap-prefix --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 5471aa9..bdf5ec5 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,12 @@ If you use them often you might want to enable `rubocop-mode` which will added s (add-hook 'ruby-mode-hook #'rubocop-mode) ``` +By default `rubocop-mode` uses the prefix `C-c C-r` for its commands, but you can change this if you wish: + +``` emacs-lisp +(setq rubocop-keymap-prefix (kbd "C-c C-x")) +``` + ## Configuration There are a couple of configuration variables that you can use to adjust RuboCop.el's behavior.