diff options
author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2018-08-20 00:38:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 00:38:38 +0200 |
commit | 8799e4a6a1909053a2207ae774b1fe3a5384f2d1 (patch) | |
tree | 8fa6b07340a6607acf799793aebb3984c90616a9 /doc | |
parent | c940298fa67c2d97b46caebcacc46b0cd699fbb9 (diff) | |
parent | 7d2e57b7a693dd7e8dfc00cb1e52116108b60e9a (diff) | |
download | ranger-8799e4a6a1909053a2207ae774b1fe3a5384f2d1.tar.gz |
Merge pull request #1222 from Vifon/filter_stack
Implement the filter stack
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ranger.1 | 35 | ||||
-rw-r--r-- | doc/ranger.pod | 52 |
2 files changed, 87 insertions, 0 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1 index e141011f..060686b8 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -657,6 +657,41 @@ Close the current tab. The last tab cannot be closed this way. A key chain that allows you to quickly change the line mode of all the files of the current directory. For a more permanent solution, use the command \&\*(L"default_linemode\*(R" in your rc.conf. +.IP ".n" 14 +.IX Item ".n" +Apply a new filename filter. +.IP ".d" 14 +.IX Item ".d" +Apply the typefilter \*(L"directory\*(R". +.IP ".f" 14 +.IX Item ".f" +Apply the typefilter \*(L"file\*(R". +.IP ".l" 14 +.IX Item ".l" +Apply the typefilter \*(L"symlink\*(R". +.IP ".|" 14 +Combine the two topmost filters from the filter stack in the \*(L"\s-1OR\*(R"\s0 +relationship, instead of the \*(L"\s-1AND\*(R"\s0 used implicitly. +.IP ".&" 14 +Explicitly combine the two topmost filters in the \*(L"\s-1AND\*(R"\s0 +relationship. Usually not needed though might be useful in more +complicated scenarios. +.IP ".!" 14 +Negate the topmost filter. +.IP ".r" 14 +.IX Item ".r" +Rotate the filter stack by N elements. Just confirm with enter to +rotate by 1, i.e. move the topmost element to the bottom of the stack. +.IP ".c" 14 +.IX Item ".c" +Clear the filter stack. +.IP ".*" 14 +Decompose the topmost filter combinator (e.g. \f(CW\*(C`.!\*(C'\fR, \f(CW\*(C`.|\*(C'\fR). +.IP ".p" 14 +.IX Item ".p" +Pop the topmost filter from the filter stack. +.IP ".." 14 +Show the current filter stack state. .SS "READLINE-LIKE \s-1BINDINGS IN THE CONSOLE\s0" .IX Subsection "READLINE-LIKE BINDINGS IN THE CONSOLE" .IP "^B, ^F" 14 diff --git a/doc/ranger.pod b/doc/ranger.pod index 3062fef5..48e6a41e 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -620,6 +620,58 @@ A key chain that allows you to quickly change the line mode of all the files of the current directory. For a more permanent solution, use the command "default_linemode" in your rc.conf. +=item .n + +Apply a new filename filter. + +=item .d + +Apply the typefilter "directory". + +=item .f + +Apply the typefilter "file". + +=item .l + +Apply the typefilter "symlink". + +=item .| + +Combine the two topmost filters from the filter stack in the "OR" +relationship, instead of the "AND" used implicitly. + +=item .& + +Explicitly combine the two topmost filters in the "AND" +relationship. Usually not needed though might be useful in more +complicated scenarios. + +=item .! + +Negate the topmost filter. + +=item .r + +Rotate the filter stack by N elements. Just confirm with enter to +rotate by 1, i.e. move the topmost element to the bottom of the stack. + +=item .c + +Clear the filter stack. + +=item .* + +Decompose the topmost filter combinator (e.g. C<.!>, C<.|>). + +=item .p + +Pop the topmost filter from the filter stack. + +=item .. + +Show the current filter stack state. + =back =head2 READLINE-LIKE BINDINGS IN THE CONSOLE |