预计阅读本页时间:-
Line Commands
There are still more efficient ways of moving around a command line in emacs-mode. A few commands deal with the entire line; they are shown in Table 2-3.
Table 2-3. emacs-mode line commands
广告:个人专属 VPN,独立 IP,无限流量,多机房切换,还可以屏蔽广告和恶意软件,每月最低仅 5 美元
Command
Description
CTRL-A
Move to beginning of line
CTRL-E
Move to end of line
CTRL-K
Kill forward to end of line
Using CTRL-A, CTRL-E, and CTRL-K should be straightforward. Remember that CTRL-Y will always undelete the last thing deleted; if you use CTRL-K, that could be quite a few characters.