From 538986719e81987d7a08aa083757f345fa9acaee Mon Sep 17 00:00:00 2001 From: john Date: Sun, 22 Oct 2017 13:44:09 -0700 Subject: Add config opts for iTerm2 font size (for preview) Add two config options "iterm2_font_width" and "iterm2_font_height" that override the default values of _minimum_font_width and _minimum_font_height in ITerm2ImageDisplayer. The default values may cause preview distortion if set too high (Issue #499) or result in the preview being smaller than necessary if set too low. --- doc/ranger.1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/ranger.1') diff --git a/doc/ranger.1 b/doc/ranger.1 index f96c7f20..cd00cd95 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.0b5" "10/01/2017" "ranger manual" +.TH RANGER 1 "ranger-1.9.0b5" "10/22/2017" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -296,6 +296,10 @@ ssh. .PP To enable this feature, set the option \f(CW\*(C`preview_images_method\*(C'\fR to iterm2. .PP +This feature relies on the dimensions of the terminal's font. By default, a +width of 8 and height of 11 are used. To use other values, set the options +\&\f(CW\*(C`iterm2_font_width\*(C'\fR and \f(CW\*(C`iterm2_font_height\*(C'\fR to the desired values. +.PP \fIurxvt\fR .IX Subsection "urxvt" .PP -- cgit 1.4.1-2-gfad0