Hacker News new | past | comments | ask | show | jobs | submit login

I came here to post exactly this! Very useful.

Two more quick tips

1. Undo is ^_ (ctrl+shift+-)

2. To learn more tricks...

   bindkey -p

> Undo is ^_ (ctrl+shift+-)

I use ctrl-/. I don't recall whether it's a default binding or not, but at least you don't have to press the shift key :-)

Both are valid undo bindings in emacs so this is probably the reason that they are both supported. (I think this is an arrogant of a time where the keys were indistinguishable (and I think maybe they still are mostly indistinguishable to terminal apps))

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact