diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2016-03-30 15:08:58 +0300 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2016-03-30 15:08:58 +0300 |
commit | 1e7e289a8d72b309805798976c1393193cb2ff84 (patch) | |
tree | a3d8a6f54b06e197cc4548be50b21c03dbf1712c /doc/configuration.md | |
parent | bfd9827a6ef291da8555f85471d67b5ff2ccfe1d (diff) |
Create a dedicate manual section for additional packages
Diffstat (limited to 'doc/configuration.md')
-rw-r--r-- | doc/configuration.md | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/doc/configuration.md b/doc/configuration.md index 5c2a3452..e7bf99f9 100644 --- a/doc/configuration.md +++ b/doc/configuration.md @@ -306,58 +306,3 @@ containing namespace must have already been required). CIDER will bind `*print-length*`, `*print-level*`, `*print-meta*`, and `clojure.pprint/*print-right-margin*` when calling the pretty-printing function - the function you provide is expected to respect these options. - -### Integration with other modes - -* Enabling `CamelCase` support for editing commands(like -`forward-word`, `backward-word`, etc) in the REPL is quite useful since -we often have to deal with Java class and method names. The built-in -Emacs minor mode `subword-mode` provides such functionality: - -```el -(add-hook 'cider-repl-mode-hook #'subword-mode) -``` - -* The use of [paredit](http://mumble.net/~campbell/emacs/paredit.html) -when editing Clojure (or any other Lisp) code is highly -recommended. You're probably using it already in your `clojure-mode` -buffers (if you're not you probably should). You might also want to -enable `paredit` in the REPL buffer as well: - -```el -(add-hook 'cider-repl-mode-hook #'paredit-mode) -``` - -* [smartparens](https://github.com/Fuco1/smartparens) is an excellent - alternative to paredit. Many Clojure hackers have adopted it - recently and you might want to give it a try as well. To enable - `smartparens` in the REPL buffer use the following code: - -```el -(add-hook 'cider-repl-mode-hook #'smartparens-strict-mode) -``` - -* [RainbowDelimiters](https://github.com/Fanael/rainbow-delimiters) is a - minor mode which highlights parentheses, brackets, and braces - according to their depth. Each successive level is highlighted in a - different color. This makes it easy to spot matching delimiters, - orient yourself in the code, and tell which statements are at a - given depth. Assuming you've already installed RainbowDelimiters you can - enable it in the REPL like this: - -```el -(add-hook 'cider-repl-mode-hook #'rainbow-delimiters-mode) -``` - -* [auto-complete](http://cx4a.org/software/auto-complete/) is a popular Emacs - interactive auto-completion framework. [ac-cider](https://github.com/clojure-emacs/ac-cider) - provides a completion source for auto-complete-mode, including, where CIDER provides it, - pop-up documentation for completed symbols. - -* [eval-sexp-fu](https://github.com/hchbaw/eval-sexp-fu.el) provides some visual -feedback when evaluating expressions. [cider-eval-sexp-fu](https://github.com/clojure-emacs/cider-eval-sexp-fu) provides -CIDER integration for `eval-sexp-fu`. - -```el -(require 'cider-eval-sexp-fu) -``` |