=head1 NAME ranger - visual file manager =head1 SYNOPSIS B [B<--version>] [B<--help>] [B<--debug>] [B<--clean>] [B<--cachedir>=I] [B<--confdir>=I] [B<--datadir>=I] [B<--copy-config>=I] [B<--choosefile>=I] [B<--choosefiles>=I] [B<--choosedir>=I] [B<--selectfile>=I] [B<--show-only-dirs>] [B<--list-unused-keys>] [B<--list-tagged-files>=I] [B<--profile>] [B<--cmd>=I] [I] =head1 DESCRIPTION ranger is a console file manager with VI key bindings. =head1 RESOURCES I contains instructions on how to use and configure ranger. I, you can press I for a list of key bindings, commands or settings. The F contains install instructions. The file F contains guidelines for code modification. The directory F contains configuration files. They are usually installed to F and can be obtained with ranger's --copy-config option. The directory F contains reference implementations for ranger plugins, sample configuration files and some programs for integrating ranger with other software. They are usually installed to F. The man page of rifle(1) describes the functions of the file opener The section I of this man page contains further resources. =head1 OPTIONS =over 14 =item B<-d>, B<--debug> Activate the debug mode: Whenever an error occurs, ranger will exit and print a full traceback. The default behavior is to merely print the name of the exception in the statusbar/log and try to keep running. =item B<-c>, B<--clean> Activate the clean mode: ranger will not access or create any configuration files nor will it leave any traces on your system. This is useful when your configuration is broken, when you want to avoid clutter, etc. =item B<--cachedir>=I Change the cache directory of ranger from $XDG_CACHE_HOME or ~/.cache/ranger to "dir". =item B<-r> I, B<--confdir>=I Change the configuration directory of ranger from $XDG_CONFIG_HOME or ~/.config/ranger to "dir". =item B<--datadir>=I Change the data directory of ranger from $XDG_DATA_HOME or ~/.local/share/ranger to "dir". =item B<--copy-config>=I Create copies of the default configuration files in your local configuration directory. Existing ones will not be overwritten. Possible values: I, I, I, I, I, I. Note: You may want to disable loading of the global configuration files by exporting I in your environment. See also: B, B --copy-config=B will copy only a small sample configuration file with a thoroughly commented example. It is recommended to keep this file tidy to avoid getting defunct commands on ranger upgrades. The full default commands.py can be copied with --copy-config=B, but that file will be ignored by ranger and serves only as a reference for making your own commands. =item B<--choosefile>=I Allows you to pick a file with ranger. This changes the behavior so that when you open a file, ranger will exit and write the absolute path of that file into I. =item B<--choosefiles>=I Allows you to pick multiple files with ranger. This changes the behavior so that when you open a file, ranger will exit and write the absolute paths of all selected files into I, adding one newline after each filename. =item B<--choosedir>=I Allows you to pick a directory with ranger. When you exit ranger, it will write the last visited directory into I. =item B<--selectfile>=I Open ranger with I selected. =item B<--show-only-dirs> Display only the directories. May be used in conjunction with B<--choosedir>=I. =item B<--list-unused-keys> List common keys which are not bound to any action in the "browser" context. This list is not complete, you can bind any key that is supported by curses: use the key code returned by C. =item B<--list-tagged-files>=I List all files which are tagged with the given tag. Note: Tags are single characters. The default tag is "*" =item B<--profile> Print statistics of CPU usage on exit. =item B<--cmd>=I Execute the command after the configuration has been read. Use this option multiple times to run multiple commands. =item B<--version> Print the version and exit. =item B<-h>, B<--help> Print a list of options and exit. =back =head1 CONCEPTS This part explains how certain parts of ranger work and how they can be used efficiently. =head2 TAGS Tags are single characters which are displayed left of a filename. You can use tags however you want. Press "t" to toggle tags and "ut" to remove any tags of the selection. The default tag is an Asterisk ("*"), but you can use any tag by typing I<">. =head2 PREVIEWS By default, only text files are previewed, but you can enable external preview scripts by setting the option C and C to true. This default script is F<~/.config/ranger/scope.sh>. It contains more documentation and calls to the programs I and I for html, I for text/code, I for images, I for archives, I for PDFs and I for video and audio files. Install these programs (just the ones you need) and scope.sh will automatically use them. Independently of the preview script, there is a feature to preview images by drawing them directly into the terminal. To enable this feature, set the option C to true and enable one of the image preview modes: =head3 w3m This does not work over ssh, requires certain terminals (tested on "xterm" and "urxvt") and is incompatible with tmux, although it works with screen. To enable this feature, install the program "w3m" and set the option C to w3m. =head3 iTerm2 This only works in iTerm2 compiled with image preview support, but works over ssh. To enable this feature, set the option C to iterm2. =head3 urxvt This only works in urxvt compiled with pixbuf support. Does not work over ssh. Essentially this mode sets an image as a terminal background temporarily, so it will break any previously set image background. To enable this feature, set the option C to urxvt. =head3 urxvt-full The same as urxvt but utilizing not only the preview pane but the whole terminal window. To enable this feature, set the option C to urxvt-full. =head2 SELECTION The I is defined as "All marked files IF THERE ARE ANY, otherwise the current file." Be aware of this when using the :delete command, which deletes all files in the selection. You can mark files by pressing , v, etc. A yellow B symbol at the bottom right indicates that there are marked files in this directory. =head2 MACROS Macros can be used in commands to abbreviate things. %f the highlighted file %d the path of the current directory %s the selected files in the current directory %t all tagged files in the current directory %c the full paths of the currently copied/cut files %p the full paths of selected files The macros %f, %d, %p, and %s also have upper case variants, %F, %D, %P, and %S, which refer to the next tab. To refer to specific tabs, add a number in between. (%7s = selection of the seventh tab.) %c is the only macro which ranges out of the current directory. So you may "abuse" the copying function for other purposes, like diffing two files which are in different directories: Yank the file A (type yy), move to the file B, then type @diff %c %f Macros for file paths are generally shell-escaped so they can be used in the C command. Additionally, if you create a key binding that uses , a special statement which accepts any key, then the macro %any (or %any0, %any1, %any2, ...) can be used in the command to get the key that was pressed. The macro %rangerdir expands to the directory of ranger's python library, you can use it for something like this command: alias show_commands shell less %rangerdir/config/commands.py %confdir expands to the directory given by B<--confdir>. %datadir expands to the directory given by B<--datadir>. The macro %space expands to a space character. You can use it to add spaces to the end of a command when needed, while preventing editors to strip spaces off the end of the line automatically. To write a literal %, you need to escape it by writing %%. =head2 BOOKMARKS Type B> to bookmark the current directory. You can re-enter this directory by typing B<`>. 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. Bookmarks are selectable when tabbing in the :cd command. Note: The bookmarks ' (Apostrophe) and ` (Backtick) are the same. =head2 RIFLE Rifle is the file opener of ranger. It can be used as a standalone program or a python module. It is located at F. In contrast to other, more simple file openers, rifle can automatically find installed programs so it can be used effectively out of the box on a variety of systems. It's configured in F through a list of conditions and commands. For each line the conditions are checked and if they are met, the respective command is taken into consideration. By default, simply the first matching rule is used. In ranger, you can list and choose rules by typing "r" or simply by typing "". If you use rifle standalone, you can list all rules with the "-l" option and pick a rule with "-p ". The rules, along with further documentation, are contained in F. =head2 FLAGS Flags give you a way to modify the behavior of the spawned process. They are used in the commands C<:open_with> (key "r") and C<:shell> (key "!"). f Fork the process. (Run in background) c Run the current file only, instead of the selection r Run application with root privilege (requires sudo) t Run application in a new terminal window There are some additional flags that can currently be used only in the C command: (for example C<:shell -w df>) p Redirect output to the pager s Silent mode. Output will be discarded. w Wait for an Enter-press when the process is done By default, all the flags are off unless specified otherwise in the F configuration file. You can specify as many flags as you want. An uppercase flag negates the effect: "ffcccFsf" is equivalent to "cs". The terminal program name for the "t" flag is taken from the environment variable $TERMCMD. If it doesn't exist, it tries to extract it from $TERM, uses "x-terminal-emulator" as a fallback, and then "xterm" if that fails. Examples: C<:open_with c> will open the file that you currently point at, even if you have selected other files. C<:shell -w df> will run "df" and wait for you to press Enter before switching back to ranger. =head2 PLUGINS ranger's plugin system consists of python files which are located in F<~/.config/ranger/plugins/> and are imported in alphabetical order when starting ranger. A plugin changes rangers behavior by overwriting or extending a function that ranger uses. This allows you to change pretty much every part of ranger, but there is no guarantee that things will continue to work in future versions as the source code evolves. Adding new commands via a plugin as simple as specifying them like you would do in the I. There are some hooks that.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

"""
This is the default configuration file of ranger.

There are two ways of customizing ranger.  The first and recommended
method is creating a file at ~/.ranger/options.py and adding
those lines you want to change.  It might look like this:

from ranger.api.options import *
preview_files = False  # I hate previews!
max_history_size = 2000  # I can afford it.

The other way is directly editing this file.  This will make upgrades
of ranger more complicated though.

Whatever you do, make sure the import-line stays intact and the type
of the values stay the same.
"""

from ranger.api.options import *

# Which files should be hidden?  Toggle this by typing `zh' or
# changing the setting `show_hidden'
hidden_filter = regexp(
	r'lost\+found|^\.|~$|\.(:?pyc|pyo|bak|swp)$')
show_hidden = False

# Show dotfiles in the bookmark preview box?
show_hidden_bookmarks = True

# Which colorscheme to use?  These colorschemes are available by default:
# default, default88, texas, jungle, snow
# Snow is monochrome, texas and default88 use 88 colors.
colorscheme = 'default'

# Preview files on the rightmost column?
# And collapse (shrink) the last column if there is nothing to preview?
preview_files = True
preview_directories = True
collapse_preview = True

# Save the console history on exit?
save_console_history = True

# Draw borders around columns?
draw_borders = False
draw_bookmark_borders = True

# How many columns are there, and what are their relative widths?
column_ratios = (1, 1, 4, 3)

# Enable the mouse support?
mouse_enabled = True

# Display the file size in the main column or status bar?
display_size_in_main_column = True
display_size_in_status_bar = False

# Set a title for the window?
update_title = True

# Shorten the title if it gets long?  The number defines how many
# directories are displayed at once, False turns off this feature.
shorten_title = 3

# Abbreviate $HOME with ~ in the titlebar (first line) of ranger?
tilde_in_titlebar = True

# How many directory-changes or console-commands should be kept in history?
max_history_size = 20
max_console_history_size = 20

# Try to keep so much space between the top/bottom border when scrolling:
scroll_offset = 2

# Flush the input after each key hit?  (Noticable when ranger lags)
flushinput = True

# Save bookmarks (used with mX and `X) instantly?
# This helps to synchronize bookmarks between multiple ranger
# instances but leads to *slight* performance loss.
# When false, bookmarks are saved when ranger is exited.
autosave_bookmarks = True

# Makes sense for screen readers:
show_cursor = False

# One of: size, basename, mtime, type
sort = 'basename'
sort_reverse = False
sort_case_insensitive = False
sort_directories_first = True


# Apply an overlay function to the colorscheme.  It will be called with
# 4 arguments: the context and the 3 values (fg, bg, attr) returned by
# the original use() function of your colorscheme.  The return value
# must be a 3-tuple of (fg, bg, attr).
# Note: Here, the colors/attributes aren't directly imported into
# the namespace but have to be accessed with color.xyz.
def colorscheme_overlay(context, fg, bg, attr):
	if context.directory and attr & color.bold and \
			not any((context.marked, context.selected)):
		attr ^= color.bold  # I don't like bold directories!

	if context.main_column and context.selected:
		fg, bg = color.red, color.default  # To highlight the main column!

	return fg, bg, attr

# The above function was just an example, let's set it back to None
colorscheme_overlay = None
previews. =item hidden_filter [string] A regular expression pattern for files which should be hidden. For example, this pattern will hide all files that start with a dot or end with a tilde. set hidden_filter ^\.|~$ =item idle_delay [integer] The delay that ranger idly waits for user input, in milliseconds, with a resolution of 100ms. Lower delay reduces lag between directory updates but increases CPU load. =item line_numbers [string] Show line numbers in main column. Possible values are: false turn the feature off absolute absolute line numbers for use with "gg" relative relative line numbers for "k" or "j" =item max_console_history_size [integer, none] How many console commands should be kept in history? "none" will disable the limit. =item max_history_size [integer, none] How many directory changes should be kept in history? =item metadata_deep_search [bool] When the metadata manager module looks for metadata, should it only look for a ".metadata.json" file in the current directory, or do a deep search and check all directories above the current one as well? =item mouse_enabled [bool] Enable mouse input? =item one_indexed [bool] Start line numbers from 1. Possible values are: false start line numbers from 0 true start line numbers from 1 =item padding_right [bool] When collapse_preview is on and there is no preview, should there remain a little padding on the right? This allows you to click into that space to run the file. =item preview_directories [bool] Preview directories in the preview column? =item preview_files [bool] Preview files in the preview column? =item preview_images [bool] Draw images inside the console with the external program w3mimgpreview? =item preview_max_size [int] Avoid previewing files that exceed a certain size, in bytes. Use a value of 0 to disable this feature. =item preview_script [string, none] Which script should handle generating previews? If the file doesn't exist, or use_preview_script is off, ranger will handle previews itself by just printing the content. =item save_backtick_bookmark [bool] Save the C<`> bookmark to disk. This bookmark is used to switch to the last directory by typing C<``>. =item save_console_history [bool] Should the console history be saved on exit? If disabled, the console history is reset when you restart ranger. =item save_tabs_on_exit [bool] Save all tabs, except the active, on exit? The last saved tabs are restored once when starting the next session. Multiple sessions are stored in a stack and the oldest saved tabs are restored first. =item scroll_offset [integer] Try to keep this much space between the top/bottom border when scrolling. =item shorten_title [integer] Trim the title of the window if it gets long? The number defines how many directories are displayed at once. A value of 0 turns off this feature. =item show_cursor [bool] Always show the terminal cursor? =item show_hidden_bookmarks [bool] Show dotfiles in the bookmark preview window? (Type ') =item show_hidden [bool] , <^H> Show hidden files? =item sort_case_insensitive [bool] Sort case-insensitively? If true, "a" will be listed before "B" even though its ASCII value is higher. =item sort_directories_first [bool] Sort directories first? =item sort_reverse [bool] Reverse the order of files? =item sort_unicode [bool] When sorting according to some string, should the unicode characters be compared, instead of looking at the raw character values to save time? =item sort [string] , , , , , , , , Which sorting mechanism should be used? Choose one of B, B, B, B, B, B, B, B, B Note: You can reverse the order by typing an uppercase second letter in the key combination, e.g. "oN" to sort from Z to A. =item status_bar_on_top [bool] Put the status bar at the top of the window? =item hostname_in_titlebar [bool] Show hostname in titlebar? =item tilde_in_titlebar [bool] Abbreviate $HOME with ~ in the titlebar (first line) of ranger? =item unicode_ellipsis [bool] Use a unicode "..." character instead of "~" to mark cut-off filenames? =item update_title [bool] Set a window title? =item update_tmux_title [bool] Set the title to "ranger" in the tmux program? =item use_preview_script [bool] Use the preview script defined in the setting I? =item vcs_aware [bool] Gather and display data about version control systems. Supported vcs: git, hg. =item vcs_backend_git, vcs_backend_hg, vcs_backend_bzr [string] Sets the state for the version control backend. The possible values are: disabled don't display any information. local display only local state. enabled display both, local and remote state. May be slow for hg and bzr. =item wrap_scroll [bool] Enable scroll wrapping - moving down while on the last item will wrap around to the top and vice versa. =item xterm_alt_key [bool] Enable this if key combinations with the Alt Key don't work for you. (Especially on xterm) =back =head1 COMMANDS You can enter the commands in the console which is opened by pressing ":". You can always get a list of the currently existing commands by typing "2?" in ranger. For your convenience, this is a list of the "public" commands including their parameters, excluding descriptions: alias [newcommand] [oldcommand] bulkrename cd [directory] chain command1[; command2[; command3...]] chmod octal_number cmap key command console [-pSTARTPOSITION] command copycmap key newkey [newkey2...] copymap key newkey [newkey2...] copypmap key newkey [newkey2...] copytmap key newkey [newkey2...] cunmap keys... default_linemode [path=regexp | tag=tags] linemodename delete echo [text] edit [filename] eval [-q] python_code filter [string] filter_inode_type [dfl] find pattern flat level grep pattern help jump_non [-FLAGS...] linemode linemodename load_copy_buffer map key command mark pattern mark_tag [tags] meta key value mkdir dirname open_with [application] [flags] [mode] pmap key command prompt_metadata [key1 [key2 [...]]] punmap keys... quit quit! quitall quitall! relink newpath rename_append [-FLAGS...] rename newname save_copy_buffer scout [-FLAGS...] pattern search pattern search_inc pattern set option value setintag tags option value setlocal [path=] option value shell [-FLAGS...] command source filename terminal tmap key command touch filename travel pattern tunmap keys... unmap keys... unmark pattern unmark_tag [tags] There are additional commands which are directly translated to python functions, one for every method in the ranger.core.actions.Actions class. They are not documented here, since they are mostly for key bindings, not to be typed in by a user. Read the source if you are interested in them. These are the public commands including their descriptions: =over 2 =item alias [I] [I] Copies the oldcommand as newcommand. =item bulkrename This command opens a list of selected files in an external editor. After you edit and save the file, it will generate a shell script which does bulk renaming according to the changes you did in the file. This shell script is opened in an editor for you to review. After you close it, it will be executed. =item cd [I] The cd command changes the directory. The command C<:cd -> is equivalent to typing ``. =item chain I[; I[; I...]] Combines multiple commands into one, separated by semicolons. =item chmod I Sets the permissions of the selection to the octal number. The octal number is between 000 and 777. The digits specify the permissions for the user, the group and others. A 1 permits execution, a 2 permits writing, a 4 permits reading. Add those numbers to combine them. So a 7 permits everything. Key bindings in the form of [-+] and = also exist. For example, B<+ar> allows reading for everyone, -ow forbids others to write and 777= allows everything. See also: man 1 chmod =item cmap I I Binds keys for the console. Works like the C command. =item console [-pI] I Opens the console with the command already typed in. The cursor is placed at I. =item copycmap I I [I ...] See C =item copymap I I [I ...] Copies the keybinding I to I in the "browser" context. This is a deep copy, so if you change the new binding (or parts of it) later, the old one is not modified. To copy key bindings of the console, taskview, or pager use "copycmap", "copytmap" or "copypmap". =item copypmap I I [I ...] See C =item copytmap I I [I ...] See C =item cunmap [I] Removes key mappings of the console. Works like the C command. =item default_linemode [I | I] I Sets the default linemode. See I command. Examples: Set the global default linemode to "permissions": :default_linemode permissions Set the default linemode to "permissions" for all files tagged with "p" or "P": :default_linemode tag=pP permissions Set the default linemode for all files in ~/books/ to "metatitle": :default_linemode path=/home/.*?/books/.* metatitle =item delete Destroy all files in the selection with a roundhouse kick. ranger will ask for a confirmation if you attempt to delete multiple (marked) files or non-empty directories. This can be changed by modifying the setting "confirm_on_delete". =item echo I Display the text in the statusbar. =item edit [I] Edit the current file or the file in the argument. =item eval [I<-q>] I Evaluates the python code. `fm' is a reference to the FM instance. To display text, use the function `p'. The result is displayed on the screen unless you use the "-q" option. Examples: :eval fm :eval len(fm.tabs) :eval p("Hello World!") =item filter [I] Displays only the files which contain the I in their basename. Running this command without any parameter will reset the filter. This command is based on the I command and supports all of its options. =item filter_inode_type [dfl] Displays only the files of specified inode type. To display only directories, use the 'd' parameter. To display only files, use the 'f' parameter. To display only links, use the 'l' parameter. Parameters can be combined. To remove this filter, use no parameter. =item find I Search files in the current directory that contain the given (case-insensitive) string in their name as you type. Once there is an unambiguous result, it will be run immediately. (Or entered, if it's a directory.) This command is based on the I command and supports all of its options. =item flat level Flattens the directory view up to the specified level. Level -1 means infinite level. Level 0 means standard view without flattened directory view. Level values -2 and less are invalid. =item grep I Looks for a string in all marked files or directories. =item help Provides a quick way to view ranger documentations. =item jump_non [-I...] Jumps to first non-directory if highlighted file is a directory and vice versa. Flags: -r Jump in reverse order -w Wrap around if reaching end of filelist =item linemode I Sets the linemode of all files in the current directory. The linemode may be: "filename": display each line as "..." "fileinfo": display each line as "..." "permissions": display each line as " " "metatitle": display metadata from .metadata.json files if available, fall back to the "filename" linemode if no metadata was found. See :meta command. The custom linemodes may be added by subclassing the I class. See the I module for some examples. =item load_copy_buffer Load the copy buffer from F<~/.config/ranger/copy_buffer>. This can be used to pass the list of copied files to another ranger instance. =item map I I Assign the key combination to the given command. Whenever you type the key/keys, the command will be executed. Additionally, if you use a quantifier when typing the key, like 5j, it will be passed to the command as the attribute "self.quantifier". The keys you bind with this command are accessible in the file browser only, not in the console, task view or pager. To bind keys there, use the commands "cmap", "tmap" or "pmap". =item mark I Mark all files matching the regular expression pattern. This command is based on the I command and supports all of its options. =item mark_tag [I] Mark all tags that are tagged with either of the given tags. When leaving out the tag argument, all tagged files are marked. =item meta I I Set the metadata of the currently highlighted file. Example: :meta title The Hitchhiker's Guide to the Galaxy :meta year 1979 This metadata can be displayed by, for example, using the "metatitle" line mode by typing Mt. =item mkdir I Creates a directory with the name I. =item open_with [I] [I] [I] Open the selected files with the given application, unless it is omitted, in which case the default application is used. I change the way the application is executed and are described in their own section in this man page. The I is a number that specifies which application to use. The list of applications is generated by the external file opener "rifle" and can be displayed when pressing "r" in ranger. Note that if you specify an application, the mode is ignored. =item pmap I I Binds keys for the pager. Works like the C command. =item prompt_metadata [I] Prompt the user to input metadata with the C command for multiple keys in a row. =item punmap [I] Removes key mappings of the pager. Works like the C command. =item quit Closes the current tab, if there's only one tab. Otherwise quits if there are no tasks in progress. The current directory will be bookmarked as ' so you can re-enter it by typing `` or '' the next time you start ranger. =item quit! Like C, except will force quit even if tasks are in progress. =item quitall Like C, except will quit even if multiple tabs are open. =item quitall! Like C, except will force quit even if tasks are in progress. =item relink I Change the link destination of the current symlink file to . First will load the original link. =item rename I Rename the current file. If a file with that name already exists, the renaming will fail. Also try the key binding A for appending something to a file name. =item rename_append [-I...] Opens the console with ":rename " with the cursor positioned before the file extension. Flags: -a Position before all extensions -r Remove everything before extensions =item save_copy_buffer Save the copy buffer to I<~/.config/ranger/copy_buffer>. This can be used to pass the list of copied files to another ranger instance. =item scout [-I...] [--] I Swiss army knife command for searching, traveling and filtering files. Flags: -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 -r Interpret pattern as a regular expression pattern -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. =item search I Search files in the current directory that match the given (case insensitive) regular expression pattern. This command is based on the I command and supports all of its options. =item search_inc I Search files in the current directory that match the given (case insensitive) regular expression pattern. This command gets you to matching files as you type. This command is based on the I command and supports all of its options. =item set I