ctrl+A到行首 或(home)
ctrl+E到行尾 或(end)
ctrl+W Cut the word before the cursor, adding it to the clipboard.
ctrl+K Cut the part of the line after the cursor, adding it to the clipboard.
ctrl+U Cut the part of the line before the cursor, adding it to the clipboard.
ctrl+Y Paste the last thing you cut from the clipboard. The y here stands for “yank”.
==============================================================================