diff options
author | Sitaram Chamarty <sitaram@atc.tcs.com> | 2010-04-30 04:53:02 +0530 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-30 01:38:49 +0200 |
commit | 02bd7c4f5309e20f366ce519da50f01c2b680a7d (patch) | |
tree | ce901e80661917d6dc5959f003725e6140d64205 | |
parent | 9a248482ca96bc354dbde644fd3f3b6f5292222b (diff) | |
download | ranger-02bd7c4f5309e20f366ce519da50f01c2b680a7d.tar.gz |
some more doc updates
-rw-r--r-- | ranger/help/console.py | 13 | ||||
-rw-r--r-- | ranger/help/movement.py | 12 |
2 files changed, 15 insertions, 10 deletions
diff --git a/ranger/help/console.py b/ranger/help/console.py index 6efc6425..1b78b215 100644 --- a/ranger/help/console.py +++ b/ranger/help/console.py @@ -167,7 +167,8 @@ Like in similar filemanagers there are some macros. Use them in commands and they will be replaced with a list of files. %f the highlighted file %d the path of the current directory - %s the selected files in the current directory + %s the selected files in the current directory. If no files are + selected, it defaults to the same as %f %t all tagged files in the current directory %c the full paths of the currently copied/cut files @@ -187,11 +188,11 @@ There is a special syntax for more control: Those two can be combinated: !d!@mplayer will open the selection with a detached mplayer - (again, this is equivalent to !d!mplayer %s) + (again, this is equivalent to !d!mplayer %s) -This keys open the console with a predefined text: - @ "!@" Good for things like "@mount" - # "!p!" For commands with output. +These keys open the console with a predefined text: + @ "!@" Suffixes %s. Good for things like "@mount" + # "!p!" Pipes output through a pager. For commands with output. Note: A plain "!p!" will be translated to "!p!cat %f" For a list of other flags than "d", check chapter 2.5 of the documentation @@ -224,7 +225,7 @@ open with: 1 open it with the default handler in mode 1 open with: d open it detached with the default handler open with: p open it as usual, but pipe the output to "less" open with: totem 1 Ds open in totem in mode 1, will not detach the - process (flag D) but discard the output (flag s) + process (flag D) but discard the output (flag s) ============================================================================== diff --git a/ranger/help/movement.py b/ranger/help/movement.py index 8b52ce8b..82a13dc6 100644 --- a/ranger/help/movement.py +++ b/ranger/help/movement.py @@ -97,7 +97,7 @@ of the file you're pointing at. V remove all marks By "tagging" files, you can highlight them and mark them to be -special in whatever context you want. +special in whatever context you want. Tags are persistent across sessions. t tag/untag the selection T untag the selection @@ -124,10 +124,10 @@ visible files. Pressing "n" will move you to the next occurance, "N" to the previous one. You can search for more than just strings: - ct search tagged files - cc cycle through all files by their ctime (last modification) + cc cycle through all files by their ctime (last inode change) cm cycle by mime type, connecting similar files cs cycle by size, large items first + ct search tagged files ============================================================================== @@ -148,7 +148,9 @@ be reversed. 1.5. Bookmarks Type "m<key>" to bookmark the current directory. You can re-enter this -directory by typing "`<key>". <key> can be any letter or digit. +directory by typing "`<key>". <key> can be any letter or digit. Unlike vim, +both lowercase and uppercase bookmarks are persistent. + Each time you jump to a bookmark, the special bookmark at key ` will be set to the last directory. So typing "``" gets you back to where you were before. @@ -166,6 +168,7 @@ In Ranger, tabs are very simple though and only store the directory path. gn, ^N Create a new tab g<N> Open a tab. N has to be a number from 0 to 9. If the tab doesn't exist yet, it will be created. + On most terminals, Alt-1, Alt-2, etc., also work. gc, ^W Close the current tab. The last tab cannot be closed. @@ -189,6 +192,7 @@ Clicking into the preview window will usually run the file. |2?| cw Open the console with ":rename " A Open the console with ":rename <current filename>" I Same as A, put the cursor at the beginning of the filename + (not yet implemented) ============================================================================== |