summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Bielik <mx.bielik@gmail.com>2024-02-26 22:37:08 +0100
committerGitHub <noreply@github.com>2024-02-26 22:37:08 +0100
commite0e03cf9ca218cd3f8f9afe0a219aca7470fa4f5 (patch)
tree1c2198f8a985f8bf76a58a371f431bb909108181 /README.md
parentd482318e7a0666d078f21df4a54440de5ceed3fa (diff)
downloadvim-ai-e0e03cf9ca218cd3f8f9afe0a219aca7470fa4f5.tar.gz
docu range functionality
Diffstat (limited to '')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1bc1f34..da76953 100644
--- a/README.md
+++ b/README.md
@@ -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`