ctrl + a: move the cursor to the beginning of the line
ctrl + e: move the cursor to the end of the line
ctrl + f: move one character forward
ctrl + b: move one character backward
alt + f: move one word forward
alt + b: move one word backward
ctrl + t: swap characters (with the one before)
alt + t: swap words (with the one before)
ctrl + k: kill the text from the current cursor until the end of the line
ctrl + u: kill the text from the current cursor to the beginning of the line
alt + d: kill the text from the current cursor through the end of the word
ctrl + w: kill the text from the current cursor through the beginning of the word