General Info
The keyboard shortcut “Ctrl+x d” calls the command “dired”. “dired” is abbreviation for Directory Edit.
Here's a list of the most commonly used keystrokes within dired:
keystroke | purpose |
---|---|
+ | create a dir |
R | rename file |
C | copy file |
D | delete file |
Z | compress/decompress the file |
m | mark a file |
u | unmark a file |
U | unmark all |
%m | mark by regex |
g | update dir listing |
“dired” is often used in combination with “Alt+!” (shell-command). For example, suppose you downloaded a program and is going thru the install process of unzip, untar, configure, make, sudo make install. You can either run these command inside a emacs shell with “Alt+x shell”, or you can just execute them one at a time with “Alt+!”. (which method to use is a matter of preference)
No comments:
Post a Comment