diff options
Diffstat (limited to 'doc/ranger.pod')
-rw-r--r-- | doc/ranger.pod | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/ranger.pod b/doc/ranger.pod index a8800498..b5a14b76 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -131,7 +131,7 @@ typing I<"<tagnameE<gt>>. =head2 PREVIEWS By default, only text files are previewed, but you can enable external preview -scripts by setting the option C<use_preview_script> and C<preview_files> to True. +scripts by setting the option C<use_preview_script> and C<preview_files> to true. This default script is F<~/.config/ranger/scope.sh>. It contains more documentation and calls to the programs I<lynx> and I<elinks> for html, @@ -141,6 +141,14 @@ I<pdftotext> for PDFs and I<mediainfo> 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. 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<preview_images> to true. + =head2 SELECTION The I<selection> is defined as "All marked files IF THERE ARE ANY, otherwise @@ -174,6 +182,10 @@ are in different directories: Macros for file paths are generally shell-escaped so they can be used in the C<shell> command. +Additionally, if you create a key binding that uses <any>, 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. + =head2 BOOKMARKS Type B<m<keyE<gt>> to bookmark the current directory. You can re-enter this |