From a9aa71cfd91cb33cc9968e936e37df43b76daf6d Mon Sep 17 00:00:00 2001 From: toonn Date: Wed, 3 Oct 2018 19:06:17 +0200 Subject: Add a setting to wrap plain text previews Fixes #1304 --- doc/ranger.1 | 8 ++++++-- doc/ranger.pod | 5 +++++ 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index 3521d762..1fbab6a4 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.2" "2019-10-02" "ranger manual" +.TH RANGER 1 "ranger-1.9.2" "2019-11-06" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -1142,6 +1142,10 @@ Increase it in case of experiencing display corruption. Offset in pixels for the inner border of the terminal. Some terminals require the offset to be specified explicitly, among others st and UXterm, some don't like urxvt. +.IP "wrap_plaintext_previews [bool]" 4 +.IX Item "wrap_plaintext_previews [bool]" +Whether or not to wrap long lines in the pager, this includes previews of plain +text files. .IP "wrap_scroll [bool]" 4 .IX Item "wrap_scroll [bool]" Enable scroll wrapping \- moving down while on the last item will wrap around to diff --git a/doc/ranger.pod b/doc/ranger.pod index be964b37..4be53a48 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -1192,6 +1192,11 @@ Offset in pixels for the inner border of the terminal. Some terminals require the offset to be specified explicitly, among others st and UXterm, some don't like urxvt. +=item wrap_plaintext_previews [bool] + +Whether or not to wrap long lines in the pager, this includes previews of plain +text files. + =item wrap_scroll [bool] Enable scroll wrapping - moving down while on the last item will wrap around to -- cgit 1.4.1-2-gfad0