All Shortcuts

Windsurf Keyboard Shortcuts & Commands (7)

Complete collection of 7 Windsurf keyboard shortcuts and commands. Browse all shortcuts organized by category with our interactive search tool.

Windsurf is built on the VS Code codebase, so everything under "Editor" below is the standard VS Code binding and transfers unchanged. What is new is Cascade, the agent panel, and the small set of keys that drive it — those are where the workflow differs, and they are worth learning before the editor keys if you are coming from VS Code already.

Related Shortcut Pages

ChatGPT OpenAI Codex CLI OpenClaw Claude Code Gemini Midjourney
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Search all Windsurf shortcuts interactively with real-time filtering

Open Interactive Shortcut Finder

All Shortcuts

Cascade AI Core

ShortcutActionDescription
Ctrl + LOpen Cascade chatOpen the Cascade AI chat panel.
Ctrl + IInline AI editTrigger inline code generation or modification.
Ctrl + Shift + LCascade with selectionSend selected code to Cascade with context.
TabAccept suggestionAccept the current AI inline suggestion.
EscReject suggestionDismiss the current AI suggestion.
Alt + ]Next suggestionCycle to the next AI suggestion.
Alt + [Previous suggestionCycle to the previous AI suggestion.

Editor (VS Code Base)

ShortcutActionDescription
Ctrl + PQuick open fileFuzzy search and open any file in the project.
Ctrl + Shift + PCommand paletteOpen the command palette.
Ctrl + `Toggle terminalOpen or close the integrated terminal.
Ctrl + / Toggle commentComment or uncomment the selected lines.
Ctrl + DSelect next matchAdd next occurrence of selected text to selection.
Alt + Up / DownMove lineMove the current line up or down.
Ctrl + Shift + KDelete lineDelete the entire current line.
Ctrl + BToggle sidebarShow or hide the file explorer sidebar.
F2Rename symbolRename a variable or function across the project.
F12Go to definitionJump to the definition of a symbol.
Ctrl + Shift + FSearch all filesSearch text across the entire project.
Ctrl + ZUndoUndo the last change.
Ctrl + Shift + ZRedoRedo the last undone change.

Flows & Memories

ShortcutActionDescription
/ memoryView memoriesList saved Cascade memories for the project.
/ remember <text>Save memoryPermanently save a fact or rule for future sessions.
@filenameMention fileReference a specific file in the Cascade prompt.
@codebaseFull codebase contextGive Cascade context of the entire codebase.
Write modeAutonomous editsCascade makes file changes automatically.
Chat modeAsk onlyCascade answers questions without editing files.

Search all Windsurf shortcuts interactively with real-time filtering

Open Interactive Shortcut Finder

All Shortcuts

Cascade AI Core

ShortcutActionDescription
Ctrl + LOpen Cascade chatOpen the Cascade AI chat panel.
Ctrl + IInline AI editTrigger inline code generation or modification.
Ctrl + Shift + LCascade with selectionSend selected code to Cascade with context.
TabAccept suggestionAccept the current AI inline suggestion.
EscReject suggestionDismiss the current AI suggestion.
Alt + ]Next suggestionCycle to the next AI suggestion.
Alt + [Previous suggestionCycle to the previous AI suggestion.

Editor (VS Code Base)

ShortcutActionDescription
Ctrl + PQuick open fileFuzzy search and open any file in the project.
Ctrl + Shift + PCommand paletteOpen the command palette.
Ctrl + `Toggle terminalOpen or close the integrated terminal.
Ctrl + / Toggle commentComment or uncomment the selected lines.
Ctrl + DSelect next matchAdd next occurrence of selected text to selection.
Alt + Up / DownMove lineMove the current line up or down.
Ctrl + Shift + KDelete lineDelete the entire current line.
Ctrl + BToggle sidebarShow or hide the file explorer sidebar.
F2Rename symbolRename a variable or function across the project.
F12Go to definitionJump to the definition of a symbol.
Ctrl + Shift + FSearch all filesSearch text across the entire project.
Ctrl + ZUndoUndo the last change.
Ctrl + Shift + ZRedoRedo the last undone change.

Flows & Memories

ShortcutActionDescription
/ memoryView memoriesList saved Cascade memories for the project.
/ remember <text>Save memoryPermanently save a fact or rule for future sessions.
@filenameMention fileReference a specific file in the Cascade prompt.
@codebaseFull codebase contextGive Cascade context of the entire codebase.
Write modeAutonomous editsCascade makes file changes automatically.
Chat modeAsk onlyCascade answers questions without editing files.
📜 Source: Windsurf documentation (docs.windsurf.com). Cascade bindings from the Windsurf docs and the in-editor keybindings list; editor rows are the inherited VS Code defaults. Checked 2026-09-04. How we verify ›

Browse shortcuts for 268 platforms

Explore All Platforms Practice Shortcuts
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

Cascade in three keys

Ctrl + L opens Cascade, the chat and agent panel, and Ctrl + Shift + L opens it with the current selection already attached as context, which is the normal way to ask about a specific function. Ctrl + I starts an inline edit at the cursor for small, local changes that do not need the panel. Inside Cascade, @filename attaches a file and @codebase lets the agent search the whole repository; the difference between Write mode and Chat mode is whether the agent is allowed to edit files or only answer.

Suggestions

Autocomplete suggestions appear inline as you type: Tab accepts, Esc rejects, and Alt + ] and Alt + [ step through alternatives when more than one is offered. The tab-to-accept convention is the same as Copilot and Cursor, so the habit transfers across the three.

Memories

Windsurf keeps persistent notes about your project that Cascade reads on every session. /memory in the Cascade input lists them, and /remember <text> saves a new one — coding conventions, the command to run tests, which directory is generated code. Memories are the fix for repeating the same instruction at the start of every conversation.

Frequently asked questions

Do VS Code shortcuts work in Windsurf?

Yes. Windsurf is a VS Code fork and keeps its keymap, extensions and settings; only the Cascade bindings are new.

What is the difference between Ctrl + L and Ctrl + I?

Ctrl + L opens the Cascade panel for conversation and multi-file work. Ctrl + I edits inline at the cursor without leaving the editor.

How do I give Cascade the whole project as context?

Type @codebase in the Cascade input. For one file, type @ followed by the file name.

How do I stop repeating project instructions every session?

Save them with /remember in Cascade. They persist as memories and are loaded automatically.

🤖 Ask AI about Windsurf shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok