Text editing in the terminal

Some shortcuts for quick text-editing in the terminal. It can seriously save time when editing config files in a terminal emulator in a taxi on a way to a meeting.

Shortcut Description
ctrl + a Move cursor to beginning of line
ctrl + e Move cursor to end of line
ctrl + k Cut from cursor position to end of line
ctrl + t Swap characters from each side of the cursor