diff options
| author | Martin Bielik <mx.bielik@gmail.com> | 2024-02-26 22:37:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-26 22:37:08 +0100 |
| commit | e0e03cf9ca218cd3f8f9afe0a219aca7470fa4f5 (patch) | |
| tree | 1c2198f8a985f8bf76a58a371f431bb909108181 /README.md | |
| parent | d482318e7a0666d078f21df4a54440de5ceed3fa (diff) | |
| download | vim-ai-e0e03cf9ca218cd3f8f9afe0a219aca7470fa4f5.tar.gz | |
docu range functionality
Diffstat (limited to '')
| -rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -81,13 +81,15 @@ To use an AI command, type the command followed by an instruction prompt. You ca **Tip:** Press `Ctrl-c` anytime to cancel completion -**Tip:** setup your own [key bindings](#key-bindings) or use command shortcuts - `:AIE`, `:AIC`, `:AIR` +**Tip:** Setup your own [key bindings](#key-bindings) or use command shortcuts - `:AIE`, `:AIC`, `:AIR` + +**Tip:** Combine commands with a range `:help range`, for example to select the whole buffer - `:%AIE fix grammar` If you are interested in more tips or would like to level up your Vim with more commands like [`:GitCommitMessage`](https://github.com/madox2/vim-ai/wiki/Custom-commands#suggest-a-git-commit-message) - suggesting a git commit message, visit the [Community Wiki](https://github.com/madox2/vim-ai/wiki). ## Reference -In the documentation below, `<selection>` denotes a visual selection, `{instruction}` an instruction prompt and `?` symbol an optional parameter. +In the documentation below, `<selection>` denotes a visual selection or any other range, `{instruction}` an instruction prompt and `?` symbol an optional parameter. ### `:AI` |