Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ctrl-k kills the rest of the line. Ctrl-u kills the entire line.

Ctrl-y yanks stuff back in from your kill ring. Esc-y will then replace the stuff with the previous item in the kill ring.

Ctrl-arrows moves a word at a time.

Ctrl-r starts a reverse interactive search through the history. Use any editing key, like ctrl-e to start working on the current search result.



Ctrl-c aborts input and leaves the previous partially edited line visible.

Ctrl-g cancels Ctrl-r searches. So if you want to search and then search again you can clear the history position with Ctrl-g.

Ctrl-s moves forward if you went too far with Ctrl-r.

Ctrl-r twice in a row retrieves the previous search.

Alt-u upper cases. Alt-l lower cases. Alt-c capitalizes. From current position to end of word.




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

Search: