This log documents changes between stable versions. # 2018-09-09: version 1.9.2 * Added a `hint_collapse_threshold` setting * Added a `traverse_backwards` command analogous to `traverse` * Added a command to shift tabs * Added a normal mode mapping to quickly enter the console and scroll through the history `C-p` * Added a section to `scope.sh` for image previews of archives * Added an avfs plugin * Added an option to the move command to enable launching the selected file instead of the marked files * Added filtering functionality inspired by dired's filter stack, `.n, .| ...` * Added image preview method for Kitty * Added option to disable the display of free space for high latency situations * Added section to `scope.sh` for pdf previews with mutool * Added several emacs/readline-inspired keybindings, `C-g` for `ESC`, `alt-f/b` * Added systemwide `rc.conf` and `commands.py` in `/etc/ranger` * Added the `%any_path` macro to allow bookmarks to be used with commands that need a path and are unaware of bookmarks * Added versioning logic to include extra info in unreleased versions * Change tab saving to save all tabs, not just the active tab * Changed `draw_borders` setting to enable drawing only borders or seperators * Changed behavior of positional arguments to the ranger command, if you specify a path to a file ranger will open with that file selected * Changed the `tilde_in_titlebar` setting to influence the window titlebar too * Changed the default colorscheme to work properly in terminals that don't equate bold and bright * Fixed StopIteration errors * Fixed embedded null errors * Fixed issues reported by coverity scan * Fixed running ranger as root on Mac OS * Fixed unicode issue for python2 * Fixed w3m preview issues with black stripes * Improved PEP8 adherence * Improved VCS symbols * Improved `--cmd` functionality * Improved file encoding detection by using chardet if it's available * Rifle's flag t should now work with more terminals than xterm and urxvt * Update colorscheme documentation # 2018-02-22: version 1.9.1 * Fixed the rifle config backwards compatibility (regression in 1.9.0) * Fixed the POSIX compatibility of `Makefile` * Fixed `--choosefile`, `--choosefiles` and `--choosedir` so they work with the process substitution (`>(...)` in Bash) * Changed the default `gt` binding to `gp` due to a conflict * Changed the help message for `--choosefile`, `--choosefiles` and `--choosedir` to avoid confusion * Changed the behavior of `:reset` to reload the tags too * Added `geeqie` to the default `rifle.conf` # 2018-01-25: version 1.9.0 * Fixed memory leak in w3m image preview * Fixed `Q` binding, map it to `quitall` instead of `quit!` * Fixed `gR` binding * Fixed custom linemode not being applied to files * Fixed w3m image display invocation on OpenBSD * Fixed broken pager after changing view mode with `~` * Added reset of rifle.conf when pressing `` * Added image-based PDF previews to `scope.sh` (disabled by default) * Added terminology-based image previews * Added check for `$VISUAL` environment variable * Added setting `iterm2_font_height` and `iterm2_font_width` * Renamed setting `cd_tab_smart` to `cd_tab_fuzzy` * Changed command for mercurial integration from `hg` to `chg` # 2017-11-19: version 1.9.0b6 * Fixed crash when parsing corrupted history file * Fixed tab completion with `cd -r ...` * Fixed crash when previewing files encoded in little-endian UTF-16 * Fixed flicker in previewing symlinked images * Fixed detection of location of scope.sh * Fixed crash when running ranger from the directory containing its package * Fixed cursor position after moving half a page down and back up * Fixed handling of lines that are too long for the console * Added `` binding to `:rename_append` * Avoid dereferencing symlinked directory when starting ranger in one * Added support for `file://` URIs as path arguments * Added setting `save_tabs_on_exit` * Added setting `cd_tab_case`, sets case sensitivity of `:cd` tab completion * Added setting `cd_tab_smart`, allows fuzzy tab completion with `:cd`, for example, `:cd /u/lo/b` expands to `:cd /usr/local/bin` * Added setting `global_inode_type_filter` to show only directories when running ranger with the new option `--show-only-dirs` * Added setting `save_backtick_bookmark`, e.g. for easier syncing of bookmarks * Added setting `one_indexed` to start counting line numbers from 1 * Added rifle.conf entries to list/extract archives without atool * Added `:yank` command for simplified definitions of `yn`, `yd` & `yp` * Added `:narrow` command, which filters selected files * Added setting `freeze_files`, bound to `F` key, to avoid reloading files * Changed `:shell -p ...` to display stderr in pager # 2017-02-19: version 1.9.0b5 * Fixed width calculation of multibyte characters in preview * Fixed crash in iTerm2 preview with python 3.5 # 2017-02-10: version 1.9.0b1 * Fixed crash when using `Mi` on files without reading permissions * Fixed natural sorting (`11.jpg` < `100.jpg`) * Fixed loss of precision in timestamps when copying * Fixed smart case matching in `:travel` * Fixed automatically disabling `preview_script` when running as root * Fixed crash on sshfs disconnect * Fixed crash on missing `~/.config/ranger/history` * Fixed crash when path not accessible during start-up * Fixed automatic tmux title * Fixed urxvt image previewing when running tmux * Fixed macro expansion in aliased commands * Fixed `hidden_filter` option when combined with `:flat` * Fixed various other crashes * Fixed error message that occasionally pops up when changing settings * Introduced extensive linting to ensure code quality * Added continuous integration. Patches now require `make test` to pass. * Added handling of arguments in "$PAGER" environment variable * Added quote parsing for `:setlocal path=...` * Added `ys` to copy the selection to clipboard * Added setting `hostname_in_titlebar` * Added setting `wrap_scroll` to wrap cursor around when scrolling * Added example plugin `plugin_fasd_add.py` * Added command `jump_non` to jump to the first non-directory file * Added additional arguments to the command `:rename_append` * Added key binding 'zz' as an alternative to 'zf' * Added option `-c` to the `rifle` file opener command * Added support for `$XDG_DATA_HOME` * Avoid exiting ranger while copying. Use `:quit!` to quit while copying. * Improved scope.sh (better performance & readability) * Improved logs handling by migrating to the python standard logging library (PR #725) * Changed `ranger --choosefiles` to return all selected files in all paths * Changed interpretation of commands: treat tabs as argument separators * Changed `` to open new tab in current directory rather than `$HOME` * Changed `:quit!` to only close 1 tab. Use `:quitall` to close all tabs. * Removed backward compatibility for `options.py`, predecessor of `rc.conf` * Automatically update bookmarks+tags when renaming them via ranger # 2017-01-08: version 1.8.1 * Fixed `:scout` break due to incompatible change in python 3.6 # 2016-12-24: version 1.8.0 * scope.sh is now needed for the now fully scriptable image previews * Overhaul of version control system integration, now with threads * Fixed ranger not finding the location of w3mimgdisplay in most cases * Fixed many minor bugs * Added midnight-commander like multipane view, toggleable with `~` key. It displays the current directory of all the open tabs next to each other. * Added autodetect for 256 color support in scope.sh source code preview * Added macro `%confdir` that expands to `~/.config/ranger` by default * Added possibility to toggle/cycle through options with `set !` * Added `Mm`/`Ms` key to enable the linemode showing modification time * Added `yt`/`dt` keys to toggle whether file is in copy/cut buffer * Added `line_numbers` setting showing absolute/relative line numbers * Added `Alt-Left` and `Alt-Right` key bindings to move by words in console * Added previews for libreoffice files with `odt2txt` * Added `preview_images_method=urxvt` option for previewing images by changing the urxvt background (requires urxvt compiled with pixbuf support) * Added `clear_filters_on_di
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module ranger.gui.widgets.pager</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.gui.html"><font color="#ffffff">gui</font></a>.<a href="ranger.gui.widgets.html"><font color="#ffffff">widgets</font></a>.pager</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/work/ranger/ranger/gui/widgets/pager.py">/home/hut/work/ranger/ranger/gui/widgets/pager.py</a></font></td></tr></table>
    <p><tt>The&nbsp;pager&nbsp;displays&nbsp;text&nbsp;and&nbsp;allows&nbsp;you&nbsp;to&nbsp;scroll&nbsp;inside&nbsp;it.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><