正在加载视频...

视频加载失败

Did you know you can stash your prompt in Claude Code? Ctrl+S saves your draft. Allows you to send a different prompt. Your saved draft is then auto-restored. No more copying to Notes. It's like git stash, but for your prompts.

171,570 次观看 • 9 个月前 •via X (Twitter)

35 条评论

Chair 的头像
Chair9 个月前

i guess this is sufficient motivation to figure out what part of the shell ate my Ctrl key

Jarred Sumner 的头像
Jarred Sumner9 个月前

til

David Flanagan 的头像
David Flanagan9 个月前

Control-S is already a POSIX signal. You’re now just breaking terminal flow control.

Dimitris Mitsos 的头像
Dimitris Mitsos9 个月前

Yes it's really handy feature, this and many more for claude code you can find here, now it's self updating

daniel 的头像
daniel9 个月前

this is actually very useful, tyvm. I’m always scrambling with notes or obsidian

Eric Buess 的头像
Eric Buess9 个月前

🙌 It’s awesome! But it doesn’t save to file just to memory so when you /exit and continue the session it’s lost, right? Is it possible to make it persist past /exit and resume? I made a workaround I discussed briefly here but would love to not have to go to such lengths. Would also be awesome if up arrow or some other shortcut would restore it without having to submit something. Maybe like a stack that ctrl+s would add to would be great!

Nick Dobos 的头像
Nick Dobos9 个月前

@marcelpociot Omg

gerry🗯 的头像
gerry🗯9 个月前

I use this all the time when I've typed up a prompt and then realize it would be better if I provided the output of a bash command. 1. <stash> 2. !<command> 3. Submit prompt I actually only found out about this from your Christmas list

λx . ophidia ereц grex 2̶̢̡͍͖̘̫ milady #kardasheva 的头像
λx . ophidia ereц grex 2̶̢̡͍͖̘̫ milady #kardasheva9 个月前

Are you out of your goddamned mind?

Himanshu Kumar 的头像
Himanshu Kumar9 个月前

@adocomplete, that's a clever way to manage prompts, and here's a guide to further improve your workflow.

claygon targaryen 的头像
claygon targaryen9 个月前

can you have clearing context not clear stashed text too please

George Kiknadze 的头像
George Kiknadze9 个月前

If you need to stash a prompt to run it again later, you can probably build a skill out of it and reuse it

Mykyta Pavlenko 的头像
Mykyta Pavlenko9 个月前

Ctrl+S stash is a game changer. No more losing half your prompt when you need to pivot real quick.

alex 的头像
alex9 个月前

that's cool, I didn't know this

Jayesh Betala 的头像
Jayesh Betala9 个月前

The team knows exactly what to cook. Small or big. But never fail

NeuralNeko 的头像
NeuralNeko9 个月前

git stash for thoughts? This is the feature I didn't know I needed. 🤯 Stopping a thought to run a quick ls used to mean losing your flow. Small UX details like this are what make a dev tool stick.

Diego Castillo 的头像
Diego Castillo9 个月前

TIL

Sumit B 的头像
Sumit B9 个月前

TY for pointing this out

build things that build things 的头像
build things that build things9 个月前

This is a feature that I would have never even thought to add Very useful shortcut

Sharon | AI wonders 的头像
Sharon | AI wonders9 个月前

Get started with Claude Code here. Simple set up guide!

United Records 的头像
United Records9 个月前

interesting

Jamie Street 的头像
Jamie Street9 个月前

this is going to save me so much time, thanks for sharing Ado

Arihant 的头像
Arihant9 个月前

TIL

λx . ophidia ereц grex 2̶̢̡͍͖̘̫ milady #kardasheva 的头像
λx . ophidia ereц grex 2̶̢̡͍͖̘̫ milady #kardasheva9 个月前

This is why everyone wants the AI bubble to pop

Grady Gaugler 的头像
Grady Gaugler9 个月前

Mind blown. Wanted this forever.

TechGringo 的头像
TechGringo9 个月前

This feature is criminally underrated. Switching contexts without losing your work is such a quality of life improvement. Git-like workflow for prompts is genuinely clever.

Not Me 的头像
Not Me9 个月前

This work on Windows too or is it just a Mac command?

Evan 的头像
Evan9 个月前

you can also just clear it out and then hit up to find it again…

Leon.M 的头像
Leon.M9 个月前

I might finally be able to close the Notes app window I keep open purely for prompt storage.

Rahimuddin 的头像
Rahimuddin9 个月前

A handy one, thanks!

wadehunter 的头像
wadehunter9 个月前

Doing this paired with can organize your projects so much better. I think I want to add a feature that stores prompts.

Jason Thomas 的头像
Jason Thomas9 个月前

Nice. Good pro tip

KAI 的头像
KAI9 个月前

you are a life saver, thanks man.

eveGodman 的头像
eveGodman9 个月前

Claude编程之后的内容需要谨慎进行实验和多方验证,并且注意其是否真的实现了某些特定需求功能,其可能为了完成最终结果而产生作弊行为导致最终编程指向目标没能有真正产出结果,这种情况一般在复杂多系统相关问题中出现。

Armz 的头像
Armz9 个月前

What in sorcery. Appreciate it 🤝

相关视频

PhD Students – How to convert your rough notes into a paper draft in 1 hour? Let’s first quickly understand the concept of rough notes. As a PhD student, you often read papers and make notes. Sometimes, you extract data from the papers you read. You record this data in an excel sheet. Irrespective of how you record your notes or data, you can convert it into a paper draft. More interesting, you can do this automatically. 𝐖𝐡𝐲 𝐭𝐨 𝐜𝐨𝐧𝐯𝐞𝐫𝐭 𝐲𝐨𝐮𝐫 𝐧𝐨𝐭𝐞𝐬 𝐢𝐧𝐭𝐨 𝐚 𝐩𝐚𝐩𝐞𝐫 𝐝𝐫𝐚𝐟𝐭? ➟ Difficult to comprehend your notes/data ➟ The notes are scattered in different places ➟ Need to synthesize a broader idea from your notes ➟ Need to write paper based on data noted 𝐇𝐨𝐰 𝐭𝐨 𝐜𝐨𝐧𝐯𝐞𝐫𝐭 𝐲𝐨𝐮𝐫 𝐧𝐨𝐭𝐞𝐬 𝐢𝐧𝐭𝐨 𝐚 𝐩𝐚𝐩𝐞𝐫 𝐝𝐫𝐚𝐟𝐭? 1. Go to and log in. 2. Open a blank document to start. 3. Click on 𝑊𝑟𝑖𝑡𝑒 on the right menu. 4. Click on 𝑢𝑝𝑙𝑜𝑎𝑑/𝑎𝑡𝑡𝑎𝑐ℎ button to upload your rough notes. 5. Use either pre-defined prompts or write your own. 6. For example, use the prompt – 𝐷𝑟𝑎𝑓𝑡 𝑎 𝑙𝑖𝑡𝑒𝑟𝑎𝑡𝑢𝑟𝑒 𝑟𝑒𝑣𝑖𝑒𝑤. 7. Paperpal will convert your notes a first draft of literature review. 8. Unlike ChatGPT, it will include real references your notes have. 9. You can give follow up instruction to modify the output. 10. For example, you can instruct – 𝑚𝑎𝑘𝑒 𝑜𝑢𝑡𝑝𝑢𝑡 𝑚𝑜𝑟𝑒 𝑐𝑜𝑛𝑐𝑖𝑠𝑒. 11. Paperpal will provide a concise alternative. 12. You can continue writing using the following options. ➝ Keep Writing ➝ Expand on ➝ Write a counter argument ➝ Write a transition sentence ➝ Write an impact statement 13. You can either accept or discard the generated text. Following this process will generate a paper draft for you. However, it is important to note that it is only a draft. You need to put your own human insight into it to polish it. You also need to carefully cross check the outputs. Please note this tutorial and tool is to facilitate you. It does not intend or even can replace you as a researcher. Try the Write 2.0 feature of Paperpal. Here is the link: Use code – FAHPP30 to get 30% off on Paperpal Prime. Anything you'd like to add?

Faheem Ullah

34,237 次观看 • 2 年前