Skip to main content

All available commands

CommandAction
:Augment enableGlobally enable suggestions (on by default)
:Augment disableGlobally disable suggestions
:Augment chat <message>Send a chat message to Augment
:Augment chat-newStart a new chat conversation
:Augment chat-toggleToggle the chat panel visibility
:Augment signinStart the sign in flow
:Augment signoutSign out of Augment
:Augment statusView the current status of the plugin
:Augment logView the plugin log

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.