命令行光标移动快捷键

224 阅读1分钟

切换键主要是Ctrl,少量的Meta(Alt)。

基本移动:

Move back one character. Ctrl + b

Move forward one character. Ctrl + f

Delete current character. Ctrl + d

Delete previous character. Backspace

Undo. Ctrl + -

快速移动:

Move to the start of line. Ctrl + a

Move to the end of line. Ctrl + e

Move forward a word. Meta + f (a word contains alphabets and digits, no symbols)

Move backward a word. Meta + b

Clear the screen. Ctrl + l ———————————————— 版权声明:本文为CSDN博主「xiphi1978」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:blog.csdn.net/xiphi_6/art…