Terminal > Command completions
Autosuggestions
# Autosuggestions import { Tabs, TabItem } from '@astrojs/starlight/components'; import VideoEmbed from '@components/VideoEmbed.astro'; ## How to access it * From the [Command Palette](/terminal/command-palette/), type in "Autosuggestions" to toggle. :::note **Terminal Tip** You can change the keybinding for accepting autosuggestions to `Tab`. Configure this in the **Tab key behavior** setting under **Settings** > **Features** > **Terminal Input**. _Note: This will update the keybinding for opening the completions menu to `Ctrl+Space`. You can also enable **Open completions menu as you type** in **Settings** > **Features** > **Terminal Input** so that the completions menu opens automatically._ ::: ## How to use it <Tabs> <TabItem label="macOS"> There are several ways to accept autosuggestions, either completely or partially: * Complete an autosuggestion using the `Right` arrow or `Ctrl+F`. * `Ctrl+E` also completes the autosuggestion when your cursor is at the end of the buffer. * `Ctrl+Right` can be used to partially complete the autosuggestion one component at a time. </TabItem> <TabItem label="Windows"> There are several ways to accept autosuggestions, either completely or partially: * Complete an autosuggestion using the `Right` arrow or `Ctrl+F`. * `End` jumps to the last character in the Input Editor, then `Right` completes the autosuggestion. * `Ctrl+Shift+Right` can be used to partially complete the autosuggestion one component at a time. </TabItem> <TabItem label="Linux"> There are several ways to accept autosuggestions, either completely or partially: * Complete an autosuggestion using the `Right` arrow or `Ctrl+F`. * `Ctrl+E` jumps to the last character in the Input Editor, then `Right` completes the autosuggestion. * `Ctrl+Shift+Right` can be used to partially complete the autosuggestion one component at a time. </TabItem> </Tabs> ## How it works <VideoEmbed url="https://www.loom.com/share/5e87c52ae855486ab88ffb2f89aeaf73?hide_owner=true&hide_share=true&hide_title=true&hideEmbedTopBar=true" title="Autosuggestion Demo" />Tell me about this feature: https://docs.warp.dev/terminal/command-completions/autosuggestions/Warp will automatically suggest commands as you type based on shell history and possible completions.
How to access it
Section titled “How to access it”- From the Command Palette, type in “Autosuggestions” to toggle.
How to use it
Section titled “How to use it”There are several ways to accept autosuggestions, either completely or partially:
- Complete an autosuggestion using the
Rightarrow orCtrl+F. Ctrl+Ealso completes the autosuggestion when your cursor is at the end of the buffer.Ctrl+Rightcan be used to partially complete the autosuggestion one component at a time.
There are several ways to accept autosuggestions, either completely or partially:
- Complete an autosuggestion using the
Rightarrow orCtrl+F. Endjumps to the last character in the Input Editor, thenRightcompletes the autosuggestion.Ctrl+Shift+Rightcan be used to partially complete the autosuggestion one component at a time.
There are several ways to accept autosuggestions, either completely or partially:
- Complete an autosuggestion using the
Rightarrow orCtrl+F. Ctrl+Ejumps to the last character in the Input Editor, thenRightcompletes the autosuggestion.Ctrl+Shift+Rightcan be used to partially complete the autosuggestion one component at a time.