Make Up Arrow press the edit button in Claude, similar to Discord
This userscript adds Discord-style message editing functionality to Claude.ai by making the up arrow key edit your last message, just like on Discord.
If you're used to Discord's interface, this script brings that familiar workflow to Claude. No more having to find and click the tiny edit button—just press up arrow and start editing!
The script detects when you press the up arrow key and checks if you're currently typing. If you're not typing (or if you're focused on the input but haven't typed anything yet), it automatically:
Works with the current Claude.ai interface as of March 2025. If Claude updates their UI, the script may need adjustments.
Feel free to modify and share as needed!