Skip to main content

All available commands

Creating custom shortcuts

You can create custom shortcuts for any of the above commands by adding mappings to your .vimrc or init.lua file. For example, to create a shortcut for the :Augment chat* commands, you can add the following mappings:

Customizing accepting a completion suggestion

By default Tab is used to accept a suggestion. If you want to use a key other than Tab to accept a suggestion, create a mapping that calls augment#Accept(). The function takes an optional arugment used to specify the fallback text to insert if no suggestion is available.
You can disable the default Tab mapping by setting g:augment_disable_tab_mapping = v:true before the plugin is loaded.