From 8a894508e5ea51996ee9d8523a1cbfc88a6a1eae Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 16 Feb 2010 15:55:57 +0100 Subject: help: finished to write all planned chapters --- ranger/help/fileop.py | 58 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file 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 Change the rights of the selection +:delete DELETES ALL FILES IN THE SELECTION WITHOUT CONFIRMATION +:rename 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 +. + +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 -- cgit 1.4.1-2-gfad0