summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-03-01 10:52:38 +0100
committerhut <hut@lavabit.com>2013-03-01 10:52:38 +0100
commitd7d2b7dd1d597b5ac9c2162921ad858ccb306279 (patch)
treedeaff21c60f1c47d650a01816df3d5691fae5dd8 /ranger
parentc139ec86237c2800f55ea2064f18c1b5bc4e9523 (diff)
downloadranger-d7d2b7dd1d597b5ac9c2162921ad858ccb306279.tar.gz
doc/ranger.1: documented :scout command
Diffstat (limited to 'ranger')
-rw-r--r--ranger/config/commands.py21
1 files changed, 20 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index b95260c6..b5b774a0 100644
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -942,9 +942,28 @@ class pmap(map_):
 
 
 class scout(Command):
-    """:scout [-FLAGS] <string>
+    """:scout [-FLAGS] <pattern>
 
     Swiss army knife command for searching, traveling and filtering files.
+    The command takes various flags as arguments which can be used to
+    influence its behaviour:
+
+    -a = automatically open a file on unambiguous match
+    -e = open the selected file when pressing enter
+    -f = filter files that match the current search pattern
+    -g = interpret pattern as a glob pattern
+    -i = ignore the letter case of the files
+    -k = keep the console open when changing a directory with the command
+    -l = letter skipping; e.g. allow "rdme" to match the file "readme"
+    -m = mark the matching files after pressing enter
+    -M = unmark the matching files after pressing enter
+    -p = permanent filter: hide non-matching files after pressing enter
+    -s = smart case; like -i unless pattern contains upper case letters
+    -t = apply filter and search pattern as you type
+    -v = inverts the match
+
+    Multiple flags can be combined.  For example, ":scout -gpt" would create
+    a :filter-like command using globbing.
     """
     AUTO_OPEN       = 'a'
     OPEN_ON_ENTER   = 'e'