Difference between revisions of "Dired"
Jump to navigation
Jump to search
(basics) |
|||
(12 intermediate revisions by 6 users not shown) | |||
Line 3: | Line 3: | ||
|description=File Manager for Emacs. | |description=File Manager for Emacs. | ||
|source=http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/dired.el | |source=http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/dired.el | ||
+ | |author=Sebastian Kremer | ||
|maintainer=[[FSF]] | |maintainer=[[FSF]] | ||
|in_emacs=yes | |in_emacs=yes | ||
Line 15: | Line 16: | ||
== Usage == | == Usage == | ||
'''Dired''' has countless functionality. | '''Dired''' has countless functionality. | ||
− | ; {{ | + | |
+ | ; {{CommandKeys|C-x d| dired}} | ||
: ask for a directory and puts you into a buffer with direct listing of that directory. | : ask for a directory and puts you into a buffer with direct listing of that directory. | ||
+ | |||
+ | ; {{CommandKeys|C-x C-j| dired-jump}} | ||
+ | : jump to a dired buffer corresponding to the current buffer (This require loading [http://www.gnu.org/software/emacs/manual/html_node/dired-x/ Dired Extra]). | ||
+ | |||
+ | In the minibuffer, while doing 'Find File': | ||
+ | |||
+ | ; {{Keys|C-d}} | ||
+ | : jump to a dired buffer corresponding to the directory in the minibuffer. | ||
+ | |||
+ | == Basic commands == | ||
+ | |||
+ | ; {{Keys| RET}} | ||
+ | : Open the file/Directory | ||
+ | |||
+ | ; {{Keys| q}} | ||
+ | : Close the dir | ||
+ | |||
+ | ; {{keys|C}} | ||
+ | : Copy file | ||
+ | |||
+ | ; {{Keys|R}} | ||
+ | :Rename file | ||
+ | |||
+ | ; {{Keys|D}} | ||
+ | : Delete file | ||
+ | |||
+ | ; {{Keys|+}} | ||
+ | : create a new dir | ||
+ | |||
+ | == Mark/unmark files == | ||
+ | |||
+ | {{Keys|m}} | ||
+ | : mark a file | ||
+ | |||
+ | {{Keys|u}} | ||
+ | : unmark a file | ||
+ | |||
+ | {{Keys|U}} | ||
+ | : unmark all marked | ||
+ | |||
+ | {{Keys|m}} | ||
+ | : mark by pattern | ||
+ | |||
+ | |||
+ | == See Also == | ||
+ | |||
+ | [[Dired+]] - a package that extends the functionalities of Dired | ||
+ | |||
+ | [[Direx]] - a general purpose directory/tree explorer | ||
+ | |||
+ | [https://github.com/Fuco1/dired-hacks dired-subtree] - insert the subdirectory (with the i key) directly below its line | ||
+ | |||
+ | [[Speed_bar]] - navigate files and sources in another frame | ||
+ | |||
+ | [[emacs-nav]] - a simple files and sources browser popup | ||
+ | |||
− | [[Category:Desktop Management]] [[Category:File Manager]] [[Category: | + | [[Category:Desktop Management]] [[Category:File Manager]][[Category:Built-in Package]] |
Revision as of 13:42, 10 April 2014
Description | File Manager for Emacs. |
---|---|
Author | Sebastian Kremer |
Maintainer | FSF |
Source | http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/dired.el |
Part of Emacs | yes |
Dired is a inbuilt File Manager for Emacs. Its arguably the best file manager with the functionality it possesses. Unlike any other file mangers the directory listing is just as an another buffer of Emacs with dired-mode as Major Mode.
Usage
Dired has countless functionality.
- [C-x d] (or M-x dired)
- ask for a directory and puts you into a buffer with direct listing of that directory.
- [C-x C-j] (or M-x dired-jump)
- jump to a dired buffer corresponding to the current buffer (This require loading Dired Extra).
In the minibuffer, while doing 'Find File':
- [C-d]
- jump to a dired buffer corresponding to the directory in the minibuffer.
Basic commands
- [ RET]
- Open the file/Directory
- [ q]
- Close the dir
- [C]
- Copy file
- [R]
- Rename file
- [D]
- Delete file
- [+]
- create a new dir
Mark/unmark files
[m]
- mark a file
[u]
- unmark a file
[U]
- unmark all marked
[m]
- mark by pattern
See Also
Dired+ - a package that extends the functionalities of Dired
Direx - a general purpose directory/tree explorer
dired-subtree - insert the subdirectory (with the i key) directly below its line
Speed_bar - navigate files and sources in another frame
emacs-nav - a simple files and sources browser popup