Skip to content

Commit 71b486a

Browse files
author
Bozhidar Batsov
committed
Add a section of minibuffer completion
1 parent b3d4e1e commit 71b486a

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,7 @@ You can certainly use `CIDER` without configuring it any further,
137137
but here are some ways other folks are adjusting their `CIDER`
138138
experience.
139139

140-
Using a completion system such as `IDO` will enhance certain `CIDER`
141-
functionality. If you are using `IDO`, be sure to use both `ido-everywhere`
142-
and [`ido-ubiquitous`](https://github.com/technomancy/ido-ubiquitous).
140+
### Basic configuration
143141

144142
* Enable `eldoc` in Clojure buffers:
145143

@@ -304,6 +302,27 @@ helpful for identifying each host.
304302
Note that the history is written to the file when you kill the REPL
305303
buffer (which includes invoking `cider-quit`) or you quit Emacs.
306304

305+
### Minibuffer completion
306+
307+
Out-of-the box `CIDER` uses the standard `completing-read` Emacs mechanism. While it's not
308+
fancy it certainly gets the job done (just press `TAB`). There are, however, ways to improve
309+
upon the standard completion if you wish to.
310+
311+
#### icomplete
312+
313+
`icomplete` is bundled with Emacs and enhances the default minubuffer completion:
314+
315+
```el
316+
(require 'icomplete)
317+
```
318+
319+
#### ido
320+
321+
`ido` is also bundled with Emacs and offers more features than `icomplete`.
322+
If you are using `ido`, be sure to use both `ido-everywhere`
323+
and [`ido-ubiquitous`](https://github.com/DarwinAwardWinner/ido-ubiquitous).
324+
You might also want to install [`ido-flex`](https://github.com/lewang/flx).
325+
307326
### Integration with other modes
308327

309328
* Enabling `CamelCase` support for editing commands(like

0 commit comments

Comments
 (0)