Remix.run Logo
miav 16 hours ago

Holy shit this made my day. Warp’s convenience shell wrapping is amazing. It’s the only terminal where I can actually edit a long command in place rather than copy pasting into an editor and doing so there. Now I’m more or less assured I can retain this convenience without being forced into more AI crap.

eddyg 13 hours ago | parent | next [-]

^X^E in bash takes your current prompt and moves it to your $EDITOR.

for zsh:

  autoload edit-command-line
  zle -N edit-command-line
  bindkey '^X^E' edit-command-line
Macha 11 hours ago | parent | next [-]

Other shortcuts to edit prompt in editor:

Alt-e for fish

Ctrl-g for Claude code

KingMob 4 hours ago | parent | prev [-]

Right, but if all terminals behaved like modern pieces of software, we would take functionality like Warp's as given, instead of suggesting workarounds.

What you describe sorta works, but you lose things like file/dir-based autocomplete, since your editor doesn't know about your shell session.

wredcoll 16 hours ago | parent | prev | next [-]

Have you tried `C-x e`

swah 15 hours ago | parent | prev [-]

Just ask your agent to fork and remove it!