Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
document alt+dd
Browse files Browse the repository at this point in the history
  • Loading branch information
willeccles committed Oct 6, 2020
1 parent 9e77aed commit b628294
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ The functions of some keys may be dependent on values set in `config.h`.
| <kbd>~</kbd> | Navigate to user home directory |
| <kbd>/</kbd> | Navigate to the system root directory |
| <kbd>l</kbd> | Enter directory, or open file in `EDITOR`[<sup>1</sup>](#1) |
| <kbd>dd</kbd> | Delete currently selected file or directory (there is no confirmation, be careful) |
| <kbd>dd</kbd> | Delete currently selected file or directory (there is no confirmation, be careful), backing it up to the `CFM_TMP` directory if one exists, such that it can be undone with <kbd>u</kbd> |
| <kbd>Alt</kbd>+<kbd>dd</kbd> | Works the same as <kbd>dd</kbd>, but is always permanent, even if a `CFM_TMP` directory exists. This is useful for huge files/directories that would take a while to copy. Be careful! |
| <kbd>T</kbd> | Creates a new file, opening `EDITOR` to obtain a filename[<sup>2</sup>](#2) |
| <kbd>M</kbd> | Creates a new directory, opening `EDITOR` to obtain a directory name[<sup>2</sup>](#2) |
| <kbd>R</kbd> | Renames a file, opening `EDITOR` to edit the filename[<sup>2</sup>](#2) |
Expand Down
12 changes: 11 additions & 1 deletion cfm.1
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,17 @@ setting \fIALLOW_SPACES\fR to 0 in \fIconfig.h\fR.

.TP
.B dd
Delete current selection (does not touch marked files)
Delete current selection (does not touch marked files). This will copy the
file/directory into the \fICFM_TMP\fR directory and can be undone with
.BR u .
If the \fICFM_TMP\fR directory does not exist, deletions will be permanent.

.TP
.B "alt+dd"
Permanently delete current selection (does not touch marked files) without
backing up for undo like
.B dd
does. This is useful for large directories where a copy will take a long time.

.TP
.B "m Space"
Expand Down

0 comments on commit b628294

Please sign in to comment.