From efbbdac00f1ca71615ae83e4f3a9899620454d07 Mon Sep 17 00:00:00 2001 From: squigz Date: Thu, 4 Jan 2018 07:19:44 -0500 Subject: Update manpage with 'draw_separator' setting --- doc/ranger.1 | 5 ++++- doc/ranger.pod | 4 ++++ doc/rifle.1 | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index bb7114a2..39a9c051 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.0b6" "12/07/2017" "ranger manual" +.TH RANGER 1 "ranger-1.9.0b6" "01/04/2018" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -769,6 +769,9 @@ Display tags in all columns? .IP "draw_borders [bool]" 4 .IX Item "draw_borders [bool]" Draw borders around columns? +.IP "draw_separators [bool]" 4 +.IX Item "draw_separators [bool]" +Draw vertical separators between columns? .IP "draw_progress_bar_in_status_bar [bool]" 4 .IX Item "draw_progress_bar_in_status_bar [bool]" Draw a progress bar in the status bar which displays the average state of all diff --git a/doc/ranger.pod b/doc/ranger.pod index 43926f46..76d879d4 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -759,6 +759,10 @@ Display tags in all columns? Draw borders around columns? +=item draw_separators [bool] + +Draw vertical separators between columns? + =item draw_progress_bar_in_status_bar [bool] Draw a progress bar in the status bar which displays the average state of all diff --git a/doc/rifle.1 b/doc/rifle.1 index 8531d69c..753b3c3c 100644 --- a/doc/rifle.1 +++ b/doc/rifle.1 @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "RIFLE 1" -.TH RIFLE 1 "rifle-1.9.0b6" "12/07/2017" "rifle manual" +.TH RIFLE 1 "rifle-1.9.0b6" "01/04/2018" "rifle manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l -- cgit 1.4.1-2-gfad0 From de45af6210e55e053504d734e058b9360e74762b Mon Sep 17 00:00:00 2001 From: squigz Date: Thu, 4 Jan 2018 20:16:37 -0500 Subject: Update manpage section on draw_borders --- doc/ranger.1 | 13 ++++++++++--- doc/ranger.pod | 9 +++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index 39a9c051..21665bbf 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -766,9 +766,16 @@ Display the file size in the status bar? .IP "display_tags_in_all_columns [bool]" 4 .IX Item "display_tags_in_all_columns [bool]" Display tags in all columns? -.IP "draw_borders [bool]" 4 -.IX Item "draw_borders [bool]" -Draw borders around columns? +.IP "draw_borders [string]" 4 +.IX Item "draw_borders [string]" +Draw borders around or between the columns? Possible values are: +.Sp +.Vb 4 +\& none no borders of any sort +\& outline draw an outline around all the columns +\& separators draw only vertical lines between columns +\& both both of the above +.Ve .IP "draw_separators [bool]" 4 .IX Item "draw_separators [bool]" Draw vertical separators between columns? diff --git a/doc/ranger.pod b/doc/ranger.pod index 76d879d4..c54b6dfb 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -755,10 +755,15 @@ Display the file size in the status bar? Display tags in all columns? -=item draw_borders [bool] +=item draw_borders [string] -Draw borders around columns? +Draw borders around or between the columns? Possible values are: + none no borders of any sort + outline draw an outline around all the columns + separators draw only vertical lines between columns + both both of the above + =item draw_separators [bool] Draw vertical separators between columns? -- cgit 1.4.1-2-gfad0 From d9a8bb1cea1f42f694ef65877db73e1d80409846 Mon Sep 17 00:00:00 2001 From: toonn Date: Sat, 8 Sep 2018 14:37:46 +0200 Subject: Fix documentation Remove a setting that no longer exists from the man page. Reformat the comment in `rc.conf`. Use lower case `'none'` for consistency --- doc/ranger.1 | 31 ++++++++++++++++--------------- doc/ranger.pod | 4 ---- ranger/config/rc.conf | 5 ++++- ranger/container/settings.py | 2 +- 4 files changed, 21 insertions(+), 21 deletions(-) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index 21665bbf..052f06e9 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) +.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== @@ -54,16 +54,20 @@ .\" Avoid warning from groff about undefined register 'F'. .de IX .. -.if !\nF .nr F 0 -.if \nF>0 \{\ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" +.nr rF 0 +.if \n(.g .if rF .nr rF 1 +.if (\n(rF:(\n(.g==0)) \{\ +. if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" .. -. if !\nF==2 \{\ -. nr % 0 -. nr F 2 +. if !\nF==2 \{\ +. nr % 0 +. nr F 2 +. \} . \} .\} +.rr rF .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. @@ -129,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.0b6" "01/04/2018" "ranger manual" +.TH RANGER 1 "ranger-1.9.0b6" "2018-09-08" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -169,7 +173,7 @@ plugins, sample configuration files and some programs for integrating ranger with other software. They are usually installed to \&\fI/usr/share/doc/ranger/examples\fR. .PP -The man page of \fIrifle\fR\|(1) describes the functions of the file opener +The man page of \fBrifle\fR\|(1) describes the functions of the file opener .PP The section \fI\s-1LINKS\s0\fR of this man page contains further resources. .SH "OPTIONS" @@ -599,7 +603,7 @@ Toggle the mark-status of all files .IP "V" 14 .IX Item "V" Starts the visual mode, which selects all files between the starting point and -the cursor until you press \s-1ESC. \s0 To unselect files in the same way, use \*(L"uV\*(R". +the cursor until you press \s-1ESC.\s0 To unselect files in the same way, use \*(L"uV\*(R". .IP "/" 14 Search for files in the current directory. .IP ":" 14 @@ -776,9 +780,6 @@ Draw borders around or between the columns? Possible values are: \& separators draw only vertical lines between columns \& both both of the above .Ve -.IP "draw_separators [bool]" 4 -.IX Item "draw_separators [bool]" -Draw vertical separators between columns? .IP "draw_progress_bar_in_status_bar [bool]" 4 .IX Item "draw_progress_bar_in_status_bar [bool]" Draw a progress bar in the status bar which displays the average state of all @@ -1524,7 +1525,7 @@ copy, run: .Ve .SH "SEE ALSO" .IX Header "SEE ALSO" -\&\fIrifle\fR\|(1) +\&\fBrifle\fR\|(1) .SH "BUGS" .IX Header "BUGS" Report bugs here: diff --git a/doc/ranger.pod b/doc/ranger.pod index c54b6dfb..ff042fc7 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -764,10 +764,6 @@ Draw borders around or between the columns? Possible values are: separators draw only vertical lines between columns both both of the above -=item draw_separators [bool] - -Draw vertical separators between columns? - =item draw_progress_bar_in_status_bar [bool] Draw a progress bar in the status bar which displays the average state of all diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf index 3fd46d38..cd0ac45b 100644 --- a/ranger/config/rc.conf +++ b/ranger/config/rc.conf @@ -123,7 +123,10 @@ set status_bar_on_top false # currently running tasks which support progress bars? set draw_progress_bar_in_status_bar true -# Draw borders around columns? (separators, outline, both, or none. Separators are vertical lines between columsn. Outline draws a box around all the columns. Both combines the two) +# Draw borders around columns? (separators, outline, both, or none) +# Separators are vertical lines between columns. +# Outline draws a box around all the columns. +# Both combines the two. set draw_borders none # Display the directory name in tabs? diff --git a/ranger/container/settings.py b/ranger/container/settings.py index f07c85a6..3e742926 100644 --- a/ranger/container/settings.py +++ b/ranger/container/settings.py @@ -96,7 +96,7 @@ ALLOWED_SETTINGS = { ALLOWED_VALUES = { 'cd_tab_case': ['sensitive', 'insensitive', 'smart'], 'confirm_on_delete': ['multiple', 'always', 'never'], - 'draw_borders': ['None', 'both', 'outline', 'separators'], + 'draw_borders': ['none', 'both', 'outline', 'separators'], 'line_numbers': ['false', 'absolute', 'relative'], 'one_indexed': [False, True], 'preview_images_method': ['w3m', 'iterm2', 'urxvt', 'urxvt-full'], -- cgit 1.4.1-2-gfad0