Выбрать главу

Table E-11. Shell mode commands

Table E-11. Shell mode commands (Chapter 5)

Keystrokes Command name Action
(none) shell Enter shell mode.
C-c C-c SignalsBREAK comint-interrupt-subjob Interrupt current job; equivalent to C-c.
C-c C-z SignalsSTOP comint-stop-subjob Suspend or stop a job; C-z in Unix shells.
M-p In/OutPrevious Input comint-previous-input Retrieve previous commands (can be repeated to find earlier commands).
M-n In/OutNext Input comint-next-input Retrieve subsequent commands (can be repeated to find more recent commands).
Enter comint-send-input Send input on current line.
Tab comint-dynamic-complete Complete current command, filename, or variable name.

Table E-12. Dired commands

Table E-12. Dired commands (Chapter 5)

Keystrokes Command name Action
C-x d FileOpen Directory dired Start Dired.
C OperateCopy to dired-do-copy Copy file.
d MarkFlag dired-flag-file-deletion Flag for deletion.
D OperateDelete dired-do-delete Query for immediate deletion.
f dired-advertised-find-file Find (so you can edit).
g ImmediateRefresh revert-buffer Reread the directory from disk.
m or * m MarkMark dired-mark Mark with *.
Q OperateQuery Replace in Files dired-do-query-replace Query replace string in marked files.
R OperateRename to dired-do-rename Rename file.
s dired-sort-toggle-or-edit Sort the Dired display by date or by filename (toggles between these).
t MarkToggle Marks dired-toggle-marks Toggle marks on files and directories; pressing t once marks all unmarked files and directories; pressing t again restores original marks.
u MarkUnmark dired-unmark Remove mark.
+ ImmediateCreate Directory dired-create-directory Create a directory.
* ! or M-Del MarkUnmark All dired-unmark-all-files Remove all marks from all files.