Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TWarpNew to Visual Studio Code? Get it now.
TWarp

TWarp

Maratib Ali Khan

| (0) | Free
Warp-style block terminal inside VS Code. Brings Warp's command blocks, blinking prompt, Up-arrow history overlay, smart autocomplete, and Warp history sync into your bottom panel.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TWarp

Tiny Warp - a warp style block terminal for vs code

A clean, fast, Warp-style block terminal built directly into VS Code's bottom panel - bringing Warp's command blocks, clean blinking prompt, Up-arrow history overlay, smart autocomplete, and Warp history sync to your editor without AI bloat or window switching.


Overview

TWarp lives right next to VS Code's built-in TERMINAL tab in the bottom panel and opens automatically in your active workspace folder. It pairs your real login shell (zsh or bash, keeping your existing dotfiles intact) with a modern block-based terminal experience inspired by Warp:

  • Every command and its output are grouped into a structured block card with working directory, Git branch, duration, exit status, and icon-based hover actions.
  • A Warp-style prompt matches your VS Code editor background with no bulky input box - showing your current folder and Git branch above a crisp blinking cursor, with live shell syntax highlighting, inline ghost-text suggestions, and Tab completions.
  • Pressing ↑ (Up Arrow) opens a Warp-style command history overlay directly above the prompt, alongside Ctrl+R fuzzy history search.
  • Full-screen terminal apps (vim, htop, less, lazygit) seamlessly transition into an embedded xterm.js canvas and return to block view when you exit.
  • If you already use Warp, TWarp automatically reads and periodically syncs your Warp SQLite command history (read-only) alongside your shell history.

Key Features

1. Native Bottom Panel Tab, Multi-Session Tabs & Side-by-Side Split Panes

  • Zero Context Switching: Appears as the TWarp tab in VS Code's bottom panel alongside TERMINAL, OUTPUT, and DEBUG CONSOLE.
  • Workspace-Aware Launch: Automatically opens in your active workspace folder, or right-click any folder in the VS Code Explorer and choose Open in TWarp.
  • Tabs or Side-by-Side Layout: Use the layout toggle button right next to + to choose between Open terminal in tabs and Open terminal side by side, with per-pane headers, independent scrollback, and active-pane focus.
  • Built-In Terminal Profile & Optional Default Shortcut Integration: Registered by default as a selectable TWarp profile in VS Code's built-in Terminal tab (configurable in Settings), with an option to bind Ctrl+` / Ctrl+Shift+` to TWarp.

2. Structured Command Blocks

Every executed command renders as an interactive block card:

  • Context & Status Header: Displays the working directory pill, live Git branch pill (with * dirty indicator), execution duration, and status badge (✓ succeeded, ✕ <code> failed, or live spinner while running).
  • One-Click Icon Actions (with hover tooltips):
    • Copy command - Copy the executed command (shows checkmark confirmation).
    • Copy output - Copy plain-text output with ANSI escape codes stripped.
    • Re-run - Re-execute the command immediately in the active session.
    • Collapse / Expand - Fold or unfold long outputs to keep your feed tidy.
    • Delete - Remove an individual block from the view.
  • Full ANSI Support & Smooth Performance: Renders ANSI colors accurately and automatically guards very large outputs (512 KB cap per block) to keep scrolling fast.

3. Warp-Style Prompt & Input Editor

  • Clean Borderless Prompt: Uses your VS Code editor background directly (no input box chrome) with your current folder, Git branch, and shell badge above a blinking cursor.
  • Multi-Line Editing: Auto-resizing command prompt (Shift+Enter for newlines, Enter to run, or forward interactive stdin lines to a currently running command).
  • Real-Time Syntax Highlighting: Highlights valid executables (including live aliases, functions, and $PATH additions from ~/.zshrc / ~/.bashrc), flags, quoted strings, operators, and environment variables as you type.
  • Masked Password Prompts: Automatically detects when a running command disables terminal echo (such as sudo, ssh, passwd, or read -s) and switches to a hidden password input that is never echoed, persisted, or saved to history.
  • Ghost-Text Autosuggestions: Shows inline suggestions from your most recent matching history entry - press → to accept the entire suggestion or Option+→ (Alt+→) to accept the next word.
  • Live Running Controls: Interrupt running commands from anywhere in the TWarp view with Ctrl+C (or the ■ Stop button) and send EOF with Ctrl+D.

4. Smart Context-Aware Autocomplete (Tab)

Press Tab to open the completion popover (or auto-insert when there is a single match):

  • Executables & Builtins: Scans shell builtins and $PATH binaries.
  • Git Subcommands & Branches: Suggests common Git subcommands and completes repository branches for branch-aware commands (checkout, switch, merge, rebase, diff, log, push, pull, reset, branch).
  • Package Scripts: Automatically reads the nearest package.json to suggest scripts for npm run, pnpm, yarn, and bun run.
  • Paths & Directories: Completes local files and folders (directories-only for cd), with ~/ expansion, space escaping, and dotfile matching when typing ..

5. Warp-Style History Overlay (↑), Fuzzy Search (Ctrl+R), & Live Warp Sync

  • Up-Arrow History Overlay (↑): Press ↑ on the prompt to open a floating Warp-style command history overlay anchored above the prompt (newest commands at the bottom, filtered by any text you've already typed). Navigate with ↑ / ↓, press Enter to run immediately, Tab / → to edit, or Esc to cancel and restore your draft.
  • Fuzzy History Search (Ctrl+R): Opens a modal that fuzzy-searches your merged command history with highlighted match characters (Enter to fill the prompt, Cmd/Ctrl+Enter to run immediately).
  • Read-Only Warp Database Sync: Automatically locates Warp's warp.sqlite database (Stable or Preview on macOS and Linux) and periodically merges your Warp command history with ~/.zsh_history / ~/.bash_history and commands run in TWarp (up to 1,500 deduplicated entries).
  • On-Demand Refresh: Run TWarp: Sync History Now from the Command Palette anytime to force an immediate sync and view a status summary.

6. Seamless Interactive & Full-Screen TUI Support

When a command enters the alternate screen buffer (such as vim, nvim, htop, less, man, or lazygit) or switches the PTY into inline raw interactive mode (such as claude, codex, gemini, inquirer, fzf, or REPLs), TWarp automatically hands off rendering and live keystrokes to a persistent per-tab xterm.js canvas with live resize synchronization, stays alive when you switch tabs, and returns cleanly to block mode as soon as the program exits.

7. Zero Native Compilation & Auto-Adaptive Theme

  • No Native Node Addons: Runs your normal login shell (zsh or bash, respecting ~/.zshrc, ~/.zprofile, ~/.zshenv, $ZDOTDIR, and ~/.bashrc) via a lightweight Python 3 PTY bridge with OSC 133 + OSC 633 shell integration.
  • Matches Your VS Code Theme: Styled entirely with VS Code's active theme CSS variables and editor font configuration.

Getting Started

  1. Open the bottom panel in VS Code (Cmd+J on macOS / Ctrl+J on Linux) and switch to the TWarp tab - or run TWarp: Open Terminal from the Command Palette (Cmd+Shift+P / Ctrl+Shift+P).
  2. Right-click any folder in the Explorer sidebar and choose Open in TWarp to open a tab rooted in that directory.
  3. Type a command and press Enter to run it as a block, press ↑ for the Warp-style history overlay, press Tab for smart completions, or press Ctrl+R to fuzzy-search your merged shell and Warp history.

Keyboard Shortcuts

Inside the Prompt

Shortcut Action
Enter Execute command (or send stdin line to a running command)
Shift+Enter Insert a newline in a multi-line command
↑ Open Warp-style command history overlay (filters by current input if non-empty)
Tab Open smart autocomplete popover (or accept highlighted completion)
→ Accept full inline ghost-text history suggestion (at end of line)
Option+→ / Alt+→ Accept next word of inline ghost-text suggestion
Ctrl+R Open fuzzy history search modal
Cmd+↑ / Cmd+↓ (macOS) or Ctrl+↑ / Ctrl+↓ Jump between command blocks
Ctrl+C Send SIGINT to running command (or clear idle input when nothing is selected)
Ctrl+D Send EOF (\x04) to a running command
Ctrl+L / Cmd+K Clear blocks in the active tab
Cmd+D (macOS) / Ctrl+Shift+D (Linux) Open a new terminal in the current directory (side-by-side in split mode, or new tab in tabs mode)
Esc Dismiss active history or autocomplete popover

Inside Up-Arrow History Overlay (↑)

Shortcut Action
↑ / ↓ Move up (older) or down (newer) through command history
Enter Execute selected command immediately
Tab or → Fill selected command into the prompt for editing
Esc Close overlay and restore previous draft

Inside Fuzzy History Search (Ctrl+R)

Shortcut Action
↑ / ↓ or Ctrl+P / Ctrl+N Move selection
Enter Fill selected command into the prompt
Cmd+Enter / Ctrl+Enter Execute selected command immediately
Esc Close history search

Commands

Command ID Title Description
t-warp.open TWarp: Open Terminal Focuses the TWarp panel and opens a session in the active workspace
t-warp.toggle TWarp: Toggle Terminal Opens TWarp if hidden, or closes the bottom panel if TWarp is visible
t-warp.openInFolder Open in TWarp Explorer context menu action to open a new TWarp tab in the selected folder
t-warp.newTab TWarp: New Tab Opens a new shell session tab (or side-by-side pane) inside TWarp
t-warp.clearBlocks TWarp: Clear Blocks Clears all rendered command blocks in the active tab
t-warp.interrupt TWarp: Interrupt Running Command Sends SIGINT (Ctrl+C) to the running command in the active tab
t-warp.syncHistory TWarp: Sync History Now Immediately syncs command history from Warp's database and shell history files

Use TWarp as Your Default Terminal (Optional)

By default, TWarp registers itself as a selectable profile in VS Code's built-in Terminal tab (t-warp.terminal.enableTerminalProfile is true), while leaving VS Code's default terminal shortcuts untouched:

  1. Select TWarp from the Terminal tab profile dropdown (enabled by default):
    • TWarp appears in the Terminal tab's + ⌄ profile dropdown and in Terminal: Select Default Profile (Cmd+Shift+P / Ctrl+Shift+P).
    • Run Terminal: Select Default Profile and choose TWarp if you want launching the default profile in the Terminal tab to open TWarp.
    • To hide TWarp from the Terminal tab profile list, set t-warp.terminal.enableTerminalProfile to false in VS Code Settings.
  2. Replace the default terminal shortcuts with TWarp:
    • Enable t-warp.terminal.replaceDefaultTerminal (true) in VS Code Settings.
    • This ensures the TWarp terminal profile is enabled and binds VS Code's default terminal shortcuts - Ctrl+` toggles TWarp and Ctrl+Shift+` opens a new TWarp session.
    • Run Terminal: Select Default Profile and select TWarp so launching the default terminal profile in the Terminal tab opens TWarp automatically.
{
  "t-warp.terminal.replaceDefaultTerminal": true
}

Tip: You can also drag the TWarp panel tab directly onto VS Code's built-in TERMINAL tab if you prefer keeping both inside the same panel container.


Map TWarp to Ctrl+`

You can bind VS Code's standard terminal toggle shortcut (Ctrl+` ) to TWarp in either of two ways:

Option 1: Built-in Setting (Recommended)

Open VS Code Settings (Cmd+, / Ctrl+,), search for t-warp.terminal.replaceDefaultTerminal, and enable it - or add this to your settings.json:

{
  "t-warp.terminal.replaceDefaultTerminal": true
}

This automatically maps Ctrl+` to TWarp: Toggle Terminal (t-warp.toggle) and Ctrl+Shift+` to TWarp: New Tab (t-warp.newTab).

Option 2: Manual keybindings.json (Shortcut Only)

If you prefer configuring keyboard shortcuts manually instead of using t-warp.terminal.replaceDefaultTerminal:

  1. Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and run Preferences: Open Keyboard Shortcuts (JSON).
  2. Add the following entries to your keybindings.json:
[
  {
    "key": "ctrl+`",
    "command": "-workbench.action.terminal.toggleTerminal"
  },
  {
    "key": "ctrl+`",
    "command": "t-warp.toggle"
  },
  {
    "key": "ctrl+shift+`",
    "command": "t-warp.newTab"
  }
]

You can also configure this in the Keyboard Shortcuts UI (Cmd+K Cmd+S / Ctrl+K Ctrl+S) by searching for TWarp: Toggle Terminal (t-warp.toggle) and assigning Ctrl+` .


Extension Settings

Setting Type Default Description
t-warp.terminal.enableTerminalProfile boolean true Register TWarp as a selectable terminal profile inside VS Code's built-in Terminal tab dropdown and Terminal: Select Default Profile.
t-warp.terminal.replaceDefaultTerminal boolean false Use TWarp as your default terminal: enables the TWarp profile in the Terminal tab and binds Ctrl+` (toggle) and Ctrl+Shift+` (new session) to TWarp.
t-warp.history.syncFromWarp boolean true Load and periodically sync command history from an installed Warp terminal SQLite database (read-only) alongside shell history.
t-warp.history.warpDbPath string "" Optional custom path to Warp's warp.sqlite database. Leave empty to auto-detect on macOS and Linux.
t-warp.history.syncIntervalSeconds number 60 Interval in seconds to periodically sync history from Warp and shell history files (0 disables background polling; minimum active interval is 10 seconds).

macOS Tip (Warp History Sync): On newer macOS versions, reading Warp's database inside ~/Library/Group Containers/2BBY89MBSN.dev.warp/... may require granting VS Code Full Disk Access in System Settings → Privacy & Security → Full Disk Access, or pointing t-warp.history.warpDbPath to a readable path. Shell history (~/.zsh_history / ~/.bash_history) always works without extra permissions.


Requirements & Platform Support

  • VS Code: ^1.105.0
  • Operating Systems: macOS and Linux (Windows support coming soon)
  • Runtime: python3 available on PATH (used for the lightweight PTY bridge and read-only Warp SQLite reader)
  • Shells: zsh (recommended) and bash (with /bin/sh fallback)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft