;; 可以使用 a 來訪問目錄,這樣可以避免打開多餘的buffer (put 'dired-find-alternate-file 'disabled nil) ;; 內建的 dired-x。可以用於跳轉到當前 buffer 所對應的文件的目錄 (global-set-key "\C-x\C-j" 'dired-jump) (define-key global-map (kbd "C-x 4 C-j") 'dired-jump-other-window)
| C-x d | start up dired |
| C | (large C) copy |
| d | mark for erase |
| D | delete right away |
| e or f | open file or directory |
| g | reread directory structure from file |
| G | change group permissions (chgrp) |
| k | delete line from listing on screen (don't actually delete) |
| m | mark with * |
| n | move to next line |
| o | open file in other window and go there |
| C-o | open file in other window but don't change there |
| P | print file |
| q | quit dired |
| Q | do query-replace in marked files |
| R | rename file |
| u | remove mark |
| v | view file content |
| x | delete files marked with D |
| z | compress file |
| M-Del | remove all marks (whatever kind) |
| ~ | mark backup files (name~ files) for deletion |
| # | mark auto-save files (#name#) for deletion |
| / | mark directory with (C-u * removes that mark again) |
| = | compare this file with marked file |
| M-= | compare this file with it's backup file |
| ! | apply shell command to this file |
| M-} | change to the next file marked with * od D |
| M-{ | previous |
| % d | mark files described through regular expression for deletion |
| % m | (with *) |
| + | create directory |
| > | changed to next dir |
| < | change to previous dir |
| s | toggle between sorting by name or date |
[ 書籤 | 搜尋 | blog | 留言 | Home ]
最後更新 四月 17, 2008 , by alan
本 著作 係採用
創用 CC 姓名標示-非商業性-相同方式分享 2.5 台灣 授權條款授權.