From f1347c19232877c712eb16db2de7036c88bae50e Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 28 Jan 2018 16:51:36 +0100 Subject: manpage: documented `global_inode_type_filter` setting @randynobx: please document your settings in the man page too next time ;) --- doc/ranger.1 | 10 +++++++++- doc/ranger.pod | 7 +++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/ranger.1 b/doc/ranger.1 index 508c2972..5092b415 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.0b6" "2018-01-25" "ranger manual" +.TH RANGER 1 "ranger-1.9.0b6" "2018-01-28" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -784,6 +784,14 @@ disadvantage is that when you type commands blindly, some keys might get lost. When active, directories and files will not be loaded, improving performance when all the files you need are already loaded. This does not affect file previews. +.IP "global_inode_type_filter [string]" 4 +.IX Item "global_inode_type_filter [string]" +Like filter_inode_type, but globally for all directories. Useful in +combination with \fB\-\-choosedir\fR: +.Sp +.Vb 1 +\& ranger \-\-choosedir=/tmp/x \-\-cmd=\*(Aqset global_inode_type_filter d\*(Aq +.Ve .IP "hidden_filter [string]" 4 .IX Item "hidden_filter [string]" A regular expression pattern for files which should be hidden. For example, diff --git a/doc/ranger.pod b/doc/ranger.pod index 72386efc..3af914f3 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -777,6 +777,13 @@ When active, directories and files will not be loaded, improving performance when all the files you need are already loaded. This does not affect file previews. +=item global_inode_type_filter [string] + +Like filter_inode_type, but globally for all directories. Useful in +combination with B<--choosedir>: + + ranger --choosedir=/tmp/x --cmd='set global_inode_type_filter d' + =item hidden_filter [string] A regular expression pattern for files which should be hidden. For example, -- cgit 1.4.1-2-gfad0 From 248ed6bcc70c120c0a8202502989842148ae51a4 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 28 Jan 2018 17:00:57 +0100 Subject: manpage: documented `iterm2_font_{width,height}` settings @jgreco: please document your settings in the man page too next time ;) --- doc/ranger.1 | 8 ++++++++ doc/ranger.pod | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/doc/ranger.1 b/doc/ranger.1 index 5092b415..c8e3fe32 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -805,6 +805,14 @@ this pattern will hide all files that start with a dot or end with a tilde. The delay that ranger idly waits for user input, in milliseconds, with a resolution of 100ms. Lower delay reduces lag between directory updates but increases \s-1CPU\s0 load. +.IP "iterm2_font_height [integer]" 4 +.IX Item "iterm2_font_height [integer]" +Change the assumed font height in iTerm2, which may help with iTerm image +previews +.IP "iterm2_font_width [integer]" 4 +.IX Item "iterm2_font_width [integer]" +Change the assumed font width in iTerm2, which may help with iTerm image +previews .IP "line_numbers [string]" 4 .IX Item "line_numbers [string]" Show line numbers in main column. Possible values are: diff --git a/doc/ranger.pod b/doc/ranger.pod index 3af914f3..cb1062cf 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -797,6 +797,16 @@ The delay that ranger idly waits for user input, in milliseconds, with a resolution of 100ms. Lower delay reduces lag between directory updates but increases CPU load. +=item iterm2_font_height [integer] + +Change the assumed font height in iTerm2, which may help with iTerm image +previews + +=item iterm2_font_width [integer] + +Change the assumed font width in iTerm2, which may help with iTerm image +previews + =item line_numbers [string] Show line numbers in main column. Possible values are: -- cgit 1.4.1-2-gfad0 From f03e5acfea07140866dd029bc79e8e5da6780891 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 28 Jan 2018 17:03:53 +0100 Subject: manpage: documented `open_all_images` setting @hut: please document your settings in the man page too next time ;) --- doc/ranger.1 | 4 ++++ doc/ranger.pod | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/doc/ranger.1 b/doc/ranger.1 index c8e3fe32..0093d9d2 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -845,6 +845,10 @@ Start line numbers from 1. Possible values are: \& false start line numbers from 0 \& true start line numbers from 1 .Ve +.IP "open_all_images [bool]" 4 +.IX Item "open_all_images [bool]" +Open all images in this directory when running certain image viewers like feh +or sxiv? You can still open selected files by marking them. .IP "padding_right [bool]" 4 .IX Item "padding_right [bool]" When collapse_preview is on and there is no preview, should there remain a diff --git a/doc/ranger.pod b/doc/ranger.pod index cb1062cf..3d31fe04 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -841,6 +841,11 @@ Start line numbers from 1. Possible values are: false start line numbers from 0 true start line numbers from 1 +=item open_all_images [bool] + +Open all images in this directory when running certain image viewers like feh +or sxiv? You can still open selected files by marking them. + =item padding_right [bool] When collapse_preview is on and there is no preview, should there remain a -- cgit 1.4.1-2-gfad0 From 4d12c26397fcc5c8177d87b7f35411f85ae13b1e Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 28 Jan 2018 17:07:06 +0100 Subject: manpage: documented `preview_images_method` setting @kattrali: please add a distinct entry in the man page for every setting you add --- doc/ranger.1 | 4 ++++ doc/ranger.pod | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/doc/ranger.1 b/doc/ranger.1 index 0093d9d2..5a17577a 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -863,6 +863,10 @@ Preview files in the preview column? .IP "preview_images [bool]" 4 .IX Item "preview_images [bool]" Draw images inside the console with the external program w3mimgpreview? +.IP "preview_images_method [string]" 4 +.IX Item "preview_images_method [string]" +Set the preview image method. Supported methods: w3m, iterm2, urxvt, +urxvt-full, terminology. See \fI\s-1PREVIEWS\s0\fR section. .IP "preview_max_size [int]" 4 .IX Item "preview_max_size [int]" Avoid previewing files that exceed a certain size, in bytes. Use a value of 0 diff --git a/doc/ranger.pod b/doc/ranger.pod index 3d31fe04..fac0d515 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -864,6 +864,11 @@ Preview files in the preview column? Draw images inside the console with the external program w3mimgpreview? +=item preview_images_method [string] + +Set the preview image method. Supported methods: w3m, iterm2, urxvt, +urxvt-full, terminology. See I section. + =item preview_max_size [int] Avoid previewing files that exceed a certain size, in bytes. Use a value of 0 -- cgit 1.4.1-2-gfad0 From fbb0c339eb2d0ab4d352997384e61fb3db758b11 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 28 Jan 2018 17:09:48 +0100 Subject: manpage: documented `show_selection_in_titlebar` setting @Klinkenstecker: please document your settings in the man page next time ;) --- doc/ranger.1 | 3 +++ doc/ranger.pod | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/doc/ranger.1 b/doc/ranger.1 index 5a17577a..879768fd 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -905,6 +905,9 @@ Show dotfiles in the bookmark preview window? (Type ') .IP "show_hidden [bool] , <^H>" 4 .IX Item "show_hidden [bool] , <^H>" Show hidden files? +.IP "show_selection_in_titlebar [bool]" 4 +.IX Item "show_selection_in_titlebar [bool]" +Add the highlighted file to the path in the titlebar .IP "sort_case_insensitive [bool] " 4 .IX Item "sort_case_insensitive [bool] " Sort case-insensitively? If true, \*(L"a\*(R" will be listed before \*(L"B\*(R" even though diff --git a/doc/ranger.pod b/doc/ranger.pod index fac0d515..bf2f6e74 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -917,6 +917,10 @@ Show dotfiles in the bookmark preview window? (Type ') Show hidden files? +=item show_selection_in_titlebar [bool] + +Add the highlighted file to the path in the titlebar + =item sort_case_insensitive [bool] Sort case-insensitively? If true, "a" will be listed before "B" even though -- cgit 1.4.1-2-gfad0 From a29aba801939a8efc397ce429b0af4dcb80849e7 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 28 Jan 2018 17:13:15 +0100 Subject: manpage: document `vcs_backend_svn` setting @nfnty: please document your settings in the man page too next time ;) --- doc/ranger.1 | 4 ++-- doc/ranger.pod | 2 +- ranger/config/rc.conf | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/ranger.1 b/doc/ranger.1 index 879768fd..70c87f9f 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -953,8 +953,8 @@ Use the preview script defined in the setting \fIpreview_script\fR? .IP "vcs_aware [bool]" 4 .IX Item "vcs_aware [bool]" Gather and display data about version control systems. Supported vcs: git, hg. -.IP "vcs_backend_git, vcs_backend_hg, vcs_backend_bzr [string]" 4 -.IX Item "vcs_backend_git, vcs_backend_hg, vcs_backend_bzr [string]" +.IP "vcs_backend_git, vcs_backend_hg, vcs_backend_bzr, vcs_backend_svn [string]" 4 +.IX Item "vcs_backend_git, vcs_backend_hg, vcs_backend_bzr, vcs_backend_svn [string]" Sets the state for the version control backend. The possible values are: .Sp .Vb 3 diff --git a/doc/ranger.pod b/doc/ranger.pod index bf2f6e74..7b67e102 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -979,7 +979,7 @@ Use the preview script defined in the setting I? Gather and display data about version control systems. Supported vcs: git, hg. -=item vcs_backend_git, vcs_backend_hg, vcs_backend_bzr [string] +=item vcs_backend_git, vcs_backend_hg, vcs_backend_bzr, vcs_backend_svn [string] Sets the state for the version control backend. The possible values are: diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf index 388e56e6..38e6f11e 100644 --- a/ranger/config/rc.conf +++ b/ranger/config/rc.conf @@ -58,12 +58,13 @@ set open_all_images true # Be aware of version control systems and display information. set vcs_aware false -# State of the three backends git, hg, bzr. The possible states are +# State of the four backends git, hg, bzr, svn. The possible states are # disabled, local (only show local info), enabled (show local and remote # information). set vcs_backend_git enabled set vcs_backend_hg disabled set vcs_backend_bzr disabled +set vcs_backend_svn disabled # Use one of the supported image preview protocols set preview_images false -- cgit 1.4.1-2-gfad0 From 9db7f54226088e4cea6c7cbe582f5fb1339022c8 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 28 Jan 2018 17:18:27 +0100 Subject: manpage: document `viewmode` setting @hut: please document your settings in the man page too next time ;) --- doc/ranger.1 | 5 +++++ doc/ranger.pod | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/doc/ranger.1 b/doc/ranger.1 index 70c87f9f..a069460a 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -962,6 +962,11 @@ Sets the state for the version control backend. The possible values are: \& local display only local state. \& enabled display both, local and remote state. May be slow for hg and bzr. .Ve +.IP "viewmode [string]" 4 +.IX Item "viewmode [string]" +Sets the view mode, which can be \fBmiller\fR to display the files in the +traditional miller column view that shows multiple levels of the hierarchy, or +\&\fBmultipane\fR to use multiple panes (one per tab) similar to midnight-commander. .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 7b67e102..cc77983a 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -987,6 +987,12 @@ Sets the state for the version control backend. The possible values are: local display only local state. enabled display both, local and remote state. May be slow for hg and bzr. +=item viewmode [string] + +Sets the view mode, which can be B to display the files in the +traditional miller column view that shows multiple levels of the hierarchy, or +B to use multiple panes (one per tab) similar to midnight-commander. + =item wrap_scroll [bool] Enable scroll wrapping - moving down while on the last item will wrap around to -- cgit 1.4.1-2-gfad0