底座 · 留下,还是换回普通终端The Base · Stay, or Go Back to a Plain Terminal.
Blocks、Command Search、命令面板、补全 —— 九成用户停在这一层。这章用一条工作流把底座用明白:找回昨天跑过的那条命令,复用它,顺手给高频命令加书签。最后老实回答:什么情况下 iTerm、tmux、普通终端反而更对。Blocks, Command Search, the command palette, completions — nine in ten users stop at this layer. This chapter runs one workflow through it: recover the command you ran yesterday, reuse it, bookmark the frequent ones. Then an honest answer: when iTerm, tmux, or a plain terminal is the better call.
这一章讲你已经在用的那层 —— Blocks、现代编辑、补全、命令面板。九成 Warp 用户只用到这里就停了。它确实比上一个终端顺手,但这章不罗列功能,而是用一条完整工作流把底座用明白:找回你昨天跑过的那条命令,复用它,把高频的几条固定到手指边。然后老实回答:这层里哪些值得改习惯,以及什么情况下普通终端反而更对。This chapter is about the layer you already use — Blocks, the modern editor, completions, the command palette. Nine in ten Warp users stop right here. It really is smoother than your last terminal, but this chapter doesn't catalog features — it runs one complete workflow through the base: recover the command you ran yesterday, reuse it, pin the frequent ones next to your fingers. Then an honest answer: which habits here are worth changing, and when a plain terminal is the better call.
— I
主线:找回昨天那条命令The Main Line: Recover Yesterday's Command.
场景:昨天下午你跑通了一条命令 —— 一串带参数的 rsync,或者一条拼了很久的 ffmpeg。今天你要再跑一次,只记得大概。传统终端里你要么翻 scrollback,要么 history | grep 猜关键词。在 Warp 里这件事有一个确定的动作序列,练一遍就会:The scene: yesterday afternoon you got a command working — an rsync with a dozen flags, or an ffmpeg you assembled forever. Today you need it again and only vaguely remember it. In a traditional terminal you scroll back, or history | grep and guess. In Warp there's a deterministic move sequence — learn it once:
01
按 ⌃R,输入你记得的任何碎片Press ⌃R, type any fragment you remember
Command Search 是模糊匹配、按相关度排序的 —— 打 rsync 加目录名的一个音节,通常前几条就是它。它搜的不只是命令历史:保存的命令、workflows、连 agent 对话历史都在同一个框里。2注 2Note 2Warp Docs · Command Search —— 截至 2026-08-06,⌃R 打开统一搜索:终端输入历史、保存的命令、workflows、Terminal/Agent 对话历史;支持 history: / h:、prompts: / p:、ai_history: / a: 过滤器,模糊匹配、按相关度排序;Settings > Features 里有「Show Global Workflows」开关。Warp Docs · Command Search — as of 2026-08-06, ⌃R opens a unified search across terminal inputs, saved commands, workflows, and Terminal/Agent conversation history; filters history: / h:, prompts: / p:, ai_history: / a:; fuzzy matching, relevance-ranked; a 'Show Global Workflows' toggle lives in Settings > Features.Command Search is fuzzy and relevance-ranked — type rsync plus a syllable of the directory name and it's usually in the top few. It searches more than command history: saved commands, workflows, even agent conversation history live in the same box.2注 2Note 2Warp Docs · Command Search —— 截至 2026-08-06,⌃R 打开统一搜索:终端输入历史、保存的命令、workflows、Terminal/Agent 对话历史;支持 history: / h:、prompts: / p:、ai_history: / a: 过滤器,模糊匹配、按相关度排序;Settings > Features 里有「Show Global Workflows」开关。Warp Docs · Command Search — as of 2026-08-06, ⌃R opens a unified search across terminal inputs, saved commands, workflows, and Terminal/Agent conversation history; filters history: / h:, prompts: / p:, ai_history: / a:; fuzzy matching, relevance-ranked; a 'Show Global Workflows' toggle lives in Settings > Features.
02
搜太宽就用过滤器收口If results run wide, narrow with a filter
前缀 history:(或 h:)只看终端历史,prompts:(或 p:)只看存下的自然语言任务,ai_history:(或 a:)只看 agent 对话。昨天那条是亲手敲的,所以 h: rsync 最准。Prefix history: (or h:) for terminal history only, prompts: (or p:) for saved natural-language tasks, ai_history: (or a:) for agent conversations. Yesterday's was hand-typed, so h: rsync is the sharpest.
03
回车前决定:原样重跑,还是改完再跑Before Enter, decide: re-run as-is, or edit first
选中那条命令回车,它进输入框而不是直接执行 —— 这是关键设计:你可以先改路径和参数,确认无误再跑。找旧命令最常见的坑就是原样重跑了一条参数已经过时的命令。Hit Enter on the match and it lands in the input box rather than executing — the key design point: you can fix paths and flags first, then run. The most common trap with recovered commands is re-running one whose parameters went stale.
04
一周用三次以上的,当场加书签Anything used 3+ times a week, bookmark on the spot
跑完后选中那个 block,按 ⌘B 加书签;下次 ⌃R 或命令面板里它排在最前。到这里工作流闭环:找回 → 复用 → 固定。还不值得为它建 workflow —— 那是第六章的事,等它重复到烦再说。1注 1Note 1Warp Docs · Blocks —— 截至 2026-08-06,Block 把一条命令和它的输出合成可定位单元,可单独复制命令(SHIFT-CMD-C)或输出(ALT-SHIFT-CMD-C)、跳到输出开头、重新输入、分享(SHIFT-CMD-S)、加书签(CMD-B)、搜索、过滤、作为 agent 上下文。Warp Docs · Blocks — as of 2026-08-06, a Block groups one command and its output into an addressable unit; you can copy the command (SHIFT-CMD-C) or output (ALT-SHIFT-CMD-C) alone, jump to the output start, re-input, share (SHIFT-CMD-S), bookmark (CMD-B), search, filter, and use Blocks as agent context.After it runs, select the block and press ⌘B to bookmark it; next time it floats to the top in ⌃R or the palette. The loop is closed: recover → reuse → pin. It's not worth a workflow yet — that's chapter 6, once it repeats enough to annoy.1注 1Note 1Warp Docs · Blocks —— 截至 2026-08-06,Block 把一条命令和它的输出合成可定位单元,可单独复制命令(SHIFT-CMD-C)或输出(ALT-SHIFT-CMD-C)、跳到输出开头、重新输入、分享(SHIFT-CMD-S)、加书签(CMD-B)、搜索、过滤、作为 agent 上下文。Warp Docs · Blocks — as of 2026-08-06, a Block groups one command and its output into an addressable unit; you can copy the command (SHIFT-CMD-C) or output (ALT-SHIFT-CMD-C) alone, jump to the output start, re-input, share (SHIFT-CMD-S), bookmark (CMD-B), search, filter, and use Blocks as agent context.
传统终端里的同一幕The same scene in a traditional terminal
history | grep rsync,出来四十条;肉眼筛出像的那条,复制,粘贴,发现路径是上周的旧目录;改完再跑,又忘了当时那个关键参数是什么。前后十分钟,还不敢确定跑的就是昨天那条。history | grep rsync returns forty lines; you eyeball the likely one, copy, paste, find the path is last week's old directory; fix it, run, then realize you can't recall the one crucial flag. Ten minutes gone, and you're still not sure it's the same command.
刚才这一分钟The minute you just had
⌃R,两个关键词,回车,改一个参数,跑。命令进了输入框让你审过,跑完顺手 ⌘B —— 下次连搜都不用搜。省的不是十秒钟,是「不确定自己跑的对不对」那份心虚。⌃R, two keywords, Enter, fix one flag, run. The command sat in your input box for review, and you bookmarked it with ⌘B — next time you skip even the search. What you saved isn't ten seconds; it's the unease of not being sure you ran the right thing.
— II
快捷键只背一张表Memorize Exactly One Table of Keys.
底座层的键位很多,值得进肌肉记忆的只有这些 —— 按 2026-08-06 官方页面逐字核过;Windows / Linux 上 ⌘ 系对应 Ctrl+Shift 系,完整表在 Settings > Keyboard shortcuts,也可以改:The base layer has many keys; only these deserve muscle memory — verified verbatim against the official page on 2026-08-06. On Windows / Linux the ⌘ family maps to the Ctrl+Shift family; the full table lives in Settings > Keyboard shortcuts, and everything is remappable:
键Key
动作Action
什么时候用When you reach for it
⌃R
Command SearchCommand Search
找任何跑过、存过、聊过的东西Finding anything you ran, saved, or discussed
⌘P
Command PaletteCommand Palette
找功能、设置、动作本身Finding a feature, setting, or action itself
⌃⇧R
WorkflowsWorkflows
直接进已沉淀的参数化命令(第六章)Straight to your distilled parameterized commands (chapter 6)
⌃`
GenerateGenerate
记得要干什么、不记得语法,让 AI 拼命令You know what you want but not the syntax — AI assembles the command
⌘\
开关 Warp DriveToggle Warp Drive
看你的 workflow、notebook、prompt 库存Your inventory of workflows, notebooks, prompts
⌘D
向右分屏Split right
一边看日志一边跑命令Logs on one side, commands on the other
⌘B
给选中 block 加书签Bookmark selected block
本节主线第四步Step four of this chapter's main line
⇧⌘C / ⌥⇧⌘C
复制命令 / 复制输出Copy command / copy output
喂文档、喂同事、喂 agentFeeding docs, colleagues, or the agent
3注 3Note 3Warp Docs · Keyboard Shortcuts —— 本章键位按 2026-08-06 页面逐字核:⌃R Command Search、⌃⇧R Workflows、⌃` Generate、⌘\ Warp Drive、⌘P Command Palette、⌘D 向右分屏、⌘B 给 block 加书签、⇧⌘S 分享 block、⌥⇧⌘C 复制输出、⇧⌘C 复制命令。注意 ⌘I 是语境键:选中 block 时是「Reinput Selected Commands」,在输入框 / 编辑器里是「Inspect Command」与 agent 模式切换,在交互式会话里是把 agent 拉进来 —— 本书按语境分别描述,不把它当一个全局键。Warp Docs · Keyboard Shortcuts — this chapter's keys verified verbatim against the 2026-08-06 page: ⌃R Command Search, ⌃⇧R Workflows, ⌃` Generate, ⌘\ Warp Drive, ⌘P Command Palette, ⌘D split right, ⌘B bookmark block, ⇧⌘S share block, ⌥⇧⌘C copy output, ⇧⌘C copy command. Note ⌘I is contextual: with a block selected it is 'Reinput Selected Commands', in the input/editor it is 'Inspect Command' and the agent-mode toggle, in an interactive session it tags the agent in — this book describes it per context, never as one global key.表里没有主题和外观,是故意的:输入编辑的语法高亮和多光标、补全、命令面板这三样每天都省你的时间,值得练;主题不改变你做事的速度,挑一个顺眼的就该收工 —— 第二章已经说过了,这里只是再确认一遍。Themes and appearance are absent from the table on purpose: syntax highlighting and multi-cursor in the input editor, completions, and the command palette save you time every day and deserve drilling; a theme doesn't change how fast you work — pick one that's easy on your eyes and be done, as chapter 2 already said. This is just confirmation.
— III
普通终端就够的时候When a Plain Terminal Is Enough.
如果你只用到这一层,一个普通终端、iTerm 或 tmux 就够 —— 不必为底座纠结。If you only use this layer, a plain terminal, iTerm, or tmux is enough — no need to agonize over the base.说句公道话:底座这层 Warp 不是全面赢。论纯定制深度,iTerm2 的触发器、smart selection、Python 脚本 API 攒了多年,Warp 给不齐;论会话持久化和多路复用,tmux 仍是标准,Warp 的 tmux 支持只能算够用。4注 4Note 4Warp Docs · Supported shells / Downloads —— Warp 支持 macOS、Linux、Windows,终端层依赖 shell integration 与本机 shell;远程、容器、离线环境仍要保留普通终端判断(第十章会修正这条建议的一半:Warp Agent CLI 现在能随 SSH 带进远程机器)。Warp Docs · Supported shells / Downloads — Warp supports macOS, Linux, and Windows; the terminal layer depends on shell integration and local shells; remote, container, and offline environments still need plain-terminal judgment (chapter 10 corrects half of this advice: the Warp Agent CLI now travels over SSH).真正把 Warp 和它们拉开的是下一章的发动机,不是这层底座。所以判断很简单:只为好看的 block 和主题换工具,不值;为后面那台发动机换,才值。To be fair: in the base layer Warp doesn't win across the board. On raw customization depth, iTerm2's triggers, smart selections, and Python scripting API have accreted over years and Warp doesn't match them; on session persistence and multiplexing, tmux is still the standard and Warp's tmux support is merely adequate.4注 4Note 4Warp Docs · Supported shells / Downloads —— Warp 支持 macOS、Linux、Windows,终端层依赖 shell integration 与本机 shell;远程、容器、离线环境仍要保留普通终端判断(第十章会修正这条建议的一半:Warp Agent CLI 现在能随 SSH 带进远程机器)。Warp Docs · Supported shells / Downloads — Warp supports macOS, Linux, and Windows; the terminal layer depends on shell integration and local shells; remote, container, and offline environments still need plain-terminal judgment (chapter 10 corrects half of this advice: the Warp Agent CLI now travels over SSH). What actually separates Warp from them is next chapter's engine, not this base layer. So the call is simple: switching tools for pretty blocks and themes isn't worth it; switching for the engine behind them is.
场景Situation
先用Start with
原因Reason
远程服务器上一条状态命令One status command on a remote server
普通终端 / SSHPlain terminal / SSH
少依赖、少同步、默认可用;若要在远程跑 agent,第十章有更新的答案Fewer dependencies, less sync, always available; for an agent on the remote side, chapter 10 has a newer answer
本地项目反复跑测试并读输出Repeated local tests with output reading
Warp Blocks
输出可定位、可引用、可丢给 agentOutput is addressable, referenceable, and agent-ready
知道命令,只是忘了参数You know the command but forgot flags
⌃R / 补全⌃R / completions
不需要多步 agentNo multi-step agent needed
记得目的、忘了整条语法You remember the goal, not the syntax
⌃` Generate⌃` Generate
单条命令的生成,不必开 agent 会话Single-command generation, no agent conversation needed
需要解释一段复杂输出Need to explain complex output
Warp Agent
开始需要语义判断Semantic judgment begins
重复命令链且参数固定Repeated command chain with stable parameters
Workflow
别让 agent 每次现编Do not have the agent improvise every time
什么时候不需要 Agent:命令你已经记得;输出你一眼能看懂;动作是只读、小步、能立即重跑;或者这台机器不能承受 agent 误判。此时底座层就够了。When you do not need the Agent: you already remember the command; you can read the output at a glance; the action is read-only, small, and immediately rerunnable; or the machine cannot tolerate agent misjudgment. The base layer is enough.验收这一章 —— 主线走通,键位上桌,边界认清:Accept the chapter — main line walked, keys on the table, boundary clear:
我用 ⌃R 找回了一条昨天跑过的命令,先在输入框里审过再跑。I recovered a command I ran yesterday with ⌃R, reviewed it in the input box, then ran it.
我会用 history: / prompts: / ai_history: 三个过滤器收口搜索结果。I can narrow search results with the history: / prompts: / ai_history: filters.
我给一条高频命令加了书签(⌘B),下次不用搜。I bookmarked a high-frequency command (⌘B); no searching next time.
我说得清 ⌘I 在三种语境下分别是干什么的,不会把它当全局 agent 键。I can say what ⌘I does in each of its three contexts, and won't treat it as a global agent key.
我单独复制过一块输出喂给别人或 agent,而不是贴整屏。I've copied one block's output alone for a person or the agent, not a full screen.
我写下一个我宁可用普通终端的场景(远程 / 离线 / 容器 / 重定制),记住那条线。I've written down one scenario where I'd rather use a plain terminal (remote / offline / container / heavy customization), and I remember that line.
底座让你留下,
发动机才让你不走.
The base gets you to stay,
the engine is what keeps you.
Aklman Library
— 讨论Discussion
讨论Discussion.
评论区初始化中…Initializing comments…
01 / 01
没有匹配结果No matches.
换个关键词,或按 Esc 回到页面Try another keyword, or press Esc to return