You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Command line tweaks: autocompletion, autocorrection, autopeek range"
7
+
---
8
+
9
+

10
+
11
+
Hello, Neovim users!
12
+
13
+
After what feels like an eternity, there is now a new module: ['mini.cmdline'](/mini.nvim/readmes/mini-cmdline.md).
14
+
15
+
The 'mini.nvim' is long overdue a new 0.17 release. After contemplating a "just do it" approach, I decided that keeping the "every release has at least one new module" streak is worth it.
16
+
17
+
So after looking for which module would be the most beneficial while taking not-so-long to write, the choice fell on implementing various Neovim command line tweaks.
18
+
19
+
------
20
+
21
+
Features of 'mini.cmdline':
22
+
23
+
- Autocomplete with customizable delay. This is basically an automated pressing of [`'wildchar'`](https://neovim.io/doc/user/helptag.html?tag='wildchar') (`<Tab>` by default) with some extra configuration possibilities. Proved to be more useful than I anticipated.
24
+
25
+
Requires Neovim>=0.11, though Neovim>=0.12 is recommended.
26
+
27
+
- Autocorrect words as-you-type. Only words that must come from a fixed set of candidates (like commands and options) are autocorrected by default.
28
+
29
+
- Autopeek command range as-you-type. Shows a floating window with range lines along with customizable context lines. Looks really cool!
30
+
31
+
What it doesn't do:
32
+
33
+
- Customization of command line UI. Hopefully [`:h vim._extui`](https://neovim.io/doc/user/helptag.html?tag=vim._extui) will be enough for that (on Neovim>=0.12).
34
+
35
+
- Customization of autocompletion candidates. They are computed via [`:h cmdline-completion`](https://neovim.io/doc/user/helptag.html?tag=cmdline-completion) based on how current command defines its completion.
36
+
37
+
------
38
+
39
+
Please, check it out and tell me what you think! For the time being (until there are comments on the site) leave a comment in a dedicated [beta-testing issue](https://github.com/nvim-mini/mini.nvim/issues/2158).
40
+
41
+
I'd like to make 0.17 release relatively soon, so extensive public beta-testing will help a lot.
0 commit comments