From 05e867b9146d7995d96a93ce3634a60ce81f698b Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 22 Feb 2013 01:01:53 +0100 Subject: doc/ranger.1: update KEY BINDINGS section --- doc/ranger.1 | 36 +++++++++++++++++++++++++----------- doc/ranger.pod | 37 +++++++++++++++++++++++++++---------- 2 files changed, 52 insertions(+), 21 deletions(-) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index d3d6841c..75bacfee 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -402,6 +402,12 @@ Reload everything .IP "^L" 14 .IX Item "^L" Redraw the screen +.IP "i" 14 +.IX Item "i" +Display the current file in a bigger window. +.IP "E" 14 +.IX Item "E" +Edit the current file in \f(CW$EDITOR\fR (\*(L"nano\*(R" by default) .IP "S" 14 .IX Item "S" Open a shell in the current directory @@ -409,23 +415,25 @@ Open a shell in the current directory Opens this man page .IP "yy" 14 .IX Item "yy" -Yank the selection to the \*(L"copy\*(R" buffer and mark them as to be copied +Copy (yank) the selection, like pressing Ctrl+C in modern \s-1GUI\s0 programs. .IP "dd" 14 .IX Item "dd" -Cut the selection to the \*(L"copy\*(R" buffer and mark them as to be moved +Cut the selection, like pressing Ctrl+X in modern \s-1GUI\s0 programs. .IP "pp" 14 .IX Item "pp" -Paste the files from the \*(L"copy\*(R" buffer here (by moving or copying, depending on -how they are marked.) By default, this will not overwrite existing files. To -overwrite them, use \fIpo\fR. +Paste the files which were previously copied or cut, like pressing Ctrl+V in +modern \s-1GUI\s0 programs. +.IP "po" 14 +.IX Item "po" +Paste the copied/cut files, overwriting existing files. .IP "m\fIX\fR" 14 .IX Item "mX" Create a bookmark with the name \fIX\fR .IP "`\fIX\fR" 14 .IX Item "`X" Move to the bookmark with the name \fIX\fR -.IP "n, N" 14 -.IX Item "n, N" +.IP "n" 14 +.IX Item "n" Find the next file. By default, this gets you to the newest file in the directory, but if you search something using the keys /, cm, ct, ..., it will get you to the next found entry. @@ -439,6 +447,11 @@ Change the sort method (like in mutt) .IX Item "zX" Change settings. See the settings section for a list of settings and their hotkey. +.IP "u\fI?\fR" 14 +.IX Item "u?" +Universal undo-key. Depending on the key that you press after \*(L"u\*(R", it either +restores closed tabs (uq), removes tags (ut), clears the copy/cut buffer (ud), +starts the reversed visual mode (uV) or clears the selection (uv). .IP "f" 14 .IX Item "f" Quickly navigate by entering a part of the filename. @@ -447,10 +460,11 @@ Quickly navigate by entering a part of the filename. Mark a file. .IP "v" 14 .IX Item "v" -Toggle the mark-status of all files, unmark all files. -.IP "V, uv" 14 -.IX Item "V, uv" -Unmark all files +Toggle the mark-status of all files +.IP "V" 14 +.IX Item "V" +Starts the visual mode, which selects all files between the starting point and +the cursor until you press \s-1ESC\s0. To unselect files in the same way, use \*(L"uV\*(R". .IP "/" 14 Search for files in the current directory. .IP ":" 14 diff --git a/doc/ranger.pod b/doc/ranger.pod index b5a14b76..c2500871 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -315,6 +315,14 @@ Reload everything Redraw the screen +=item i + +Display the current file in a bigger window. + +=item E + +Edit the current file in $EDITOR ("nano" by default) + =item S Open a shell in the current directory @@ -325,17 +333,20 @@ Opens this man page =item yy -Yank the selection to the "copy" buffer and mark them as to be copied +Copy (yank) the selection, like pressing Ctrl+C in modern GUI programs. =item dd -Cut the selection to the "copy" buffer and mark them as to be moved +Cut the selection, like pressing Ctrl+X in modern GUI programs. =item pp -Paste the files from the "copy" buffer here (by moving or copying, depending on -how they are marked.) By default, this will not overwrite existing files. To -overwrite them, use I. +Paste the files which were previously copied or cut, like pressing Ctrl+V in +modern GUI programs. + +=item po + +Paste the copied/cut files, overwriting existing files. =item mI @@ -345,7 +356,7 @@ Create a bookmark with the name I Move to the bookmark with the name I -=item n, N +=item n Find the next file. By default, this gets you to the newest file in the directory, but if you search something using the keys /, cm, ct, ..., it will @@ -364,6 +375,12 @@ Change the sort method (like in mutt) Change settings. See the settings section for a list of settings and their hotkey. +=item uI + +Universal undo-key. Depending on the key that you press after "u", it either +restores closed tabs (uq), removes tags (ut), clears the copy/cut buffer (ud), +starts the reversed visual mode (uV) or clears the selection (uv). + =item f Quickly navigate by entering a part of the filename. @@ -374,11 +391,12 @@ Mark a file. =item v -Toggle the mark-status of all files, unmark all files. +Toggle the mark-status of all files -=item V, uv +=item V -Unmark all files +Starts the visual mode, which selects all files between the starting point and +the cursor until you press ESC. To unselect files in the same way, use "uV". =item / @@ -388,7 +406,6 @@ Search for files in the current directory. Open the console. - =item Alt-I Open a tab. N has to be a number from 0 to 9. If the tab doesn't exist yet, it -- cgit 1.4.1-2-gfad0