about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-02-16 15:55:57 +0100
committerhut <hut@lavabit.com>2010-02-16 15:56:37 +0100
commit8a894508e5ea51996ee9d8523a1cbfc88a6a1eae (patch)
tree9a4a157d95675ff74f269c67b85ac49a6547adbd
parentaed12f885a9b16514f32c1c0a2395c0081ea6787 (diff)
downloadranger-8a894508e5ea51996ee9d8523a1cbfc88a6a1eae.tar.gz
help: finished to write all planned chapters
-rw-r--r--ranger/help/fileop.py58
1 files changed, 56 insertions, 2 deletions
diff --git a/ranger/help/fileop.py b/ranger/help/fileop.py
index e47f7d2f..b910e598 100644
--- a/ranger/help/fileop.py
+++ b/ranger/help/fileop.py
@@ -15,10 +15,64 @@
 """
 4. File Operations
 
-4.1. Xyz
+4.1. Destructive Operations
+4.2. The Selection
+4.3. Copying and Pasting
 
 
 ==============================================================================
-4.1. Xyz:
+4.1. Destructive Operations
+
+These are all the operations which can change, and with misuse, possibly
+harm your files:
+
+:chmod <number>    Change the rights of the selection
+:delete            DELETES ALL FILES IN THE SELECTION WITHOUT CONFIRMATION
+:rename <newname>  Change the name of the current file
+pp, pl, po         Pastes the copied files in different ways
+
+Think twice before using these commands or key combinations.
+
+
+==============================================================================
+4.2. The Selection
+
+Many commands operate on the selection, so it's important to know what
+it is:
+
+If there are marked files:
+    The selection contains all the marked files.
+Otherwise:
+    The selection contains only the highlighted file.
+
+"Marked files" are the files which are slightly indented and marked in
+yellow (in the default color scheme.) You can mark files by typing "v" or
+<space>.
+
+The "highlighted file", or the "current file", is the one below the cursor.
+
+
+==============================================================================
+4.3. Copying and Pasting
+
+	yy	copy the selection
+	dd	cut the selection
+
+	pp	paste the copied/cut files. No file will be overwritten.
+		Instead, a "_" character will be appended to the new filename.
+	po	paste the copied/cut files. Existing files are overwritten.
+	pl	create symbolic links to the copied/cut files.
+
+The difference between copying and cutting should be intuitive:
+
+When pasting files which are copied, the original file remains unchanged
+in any case.
+
+When pasting files which are cut, the original file will be renamed.
+If renaming is not possible because the source and the destination are
+on separate devices, it will be copied and eventually the source is deleted.
+This implies that a file can only be cut + pasted once.
+
+==============================================================================
 """
 # vim:tw=78:sw=4:sts=8:ts=8:ft=help