@@ -823,13 +823,29 @@ GLOBAL *fern-mapping-global*
823823 DEPRECATED: Use | <Plug>(fern-action-hidden:toggle) | instead.
824824
825825*<Plug>(fern-action-include)*
826+ *<Plug>(fern-action-include=)*
826827 Open a prompt to enter include filter. Users can type a | pattern | to
827828 filter nodes recursively.
828-
829+ You can use a "=" variant to apply values to the prompt and/or submit
830+ a value like:
831+ >
832+ " Automatically apply "foo" to the prompt and submit.
833+ nmap <buffer>
834+ \ <Plug>(my-include)
835+ \ <Plug>(fern-action-include=)foo<CR>
836+ <
829837*<Plug>(fern-action-exclude)*
838+ *<Plug>(fern-action-exclude=)*
830839 Open a prompt to enter exclude filter. Users can type a | pattern | to
831840 filter nodes recursively.
832-
841+ You can use a "=" variant to apply values to the prompt and/or submit
842+ a value like:
843+ >
844+ " Automatically apply "foo" to the prompt and submit.
845+ nmap <buffer>
846+ \ <Plug>(my-exclude)
847+ \ <Plug>(fern-action-exclude=)foo<CR>
848+ <
833849*<Plug>(fern-action-mark:clear)*
834850 Clear existing marks.
835851
@@ -895,8 +911,16 @@ GLOBAL *fern-mapping-global*
895911 Collapse on a cursor node.
896912
897913*<Plug>(fern-action-reveal)*
914+ *<Plug>(fern-action-reveal=)*
898915 Open a prompt to reveal a node in a tree.
899-
916+ You can use a "=" variant to apply values to the prompt and/or submit
917+ a value like:
918+ >
919+ " Automatically apply "foo" to the prompt and submit.
920+ nmap <buffer>
921+ \ <Plug>(my-reveal)
922+ \ <Plug>(fern-action-reveal=)foo<CR>
923+ <
900924*<Plug>(fern-action-focus:parent)*
901925 Focus the parent of the cursor node.
902926
@@ -1103,26 +1127,58 @@ FILE *fern-mapping-file*
11031127The following mappings/actions are only available on file:// scheme.
11041128
11051129*<Plug>(fern-action-ex)*
1130+ *<Plug>(fern-action-ex=)*
11061131 Open a prompt to execute an Ex command with a path of cursor node or
11071132 paths of marked nodes.
1108-
1133+ You can use a "=" variant to apply values to the prompt and/or submit
1134+ a value like:
1135+ >
1136+ " Automatically apply "foo" to the prompt and submit.
1137+ nmap <buffer>
1138+ \ <Plug>(my-ex)
1139+ \ <Plug>(fern-action-ex=)foo<CR>
1140+ <
11091141*<Plug>(fern-action-new-path)*
1142+ *<Plug>(fern-action-new-path=)*
11101143 Open a prompt to ask a path and create a file/directory of the input
11111144 path from the path of a cursor node.
11121145 Any intermediate directories of the destination will be created.
11131146 If the path ends with "/", it creates a directory. Otherwise it
11141147 creates a file.
1115-
1148+ You can use a "=" variant to apply values to the prompt and/or submit
1149+ a value like:
1150+ >
1151+ " Automatically apply "foo" to the prompt and submit.
1152+ nmap <buffer>
1153+ \ <Plug>(my-new-path)
1154+ \ <Plug>(fern-action-new-path=)foo<CR>
1155+ <
11161156*<Plug>(fern-action-new-file)*
1157+ *<Plug>(fern-action-new-file=)*
11171158 Open a prompt to ask a path and create a file of the input path from
11181159 the path of a cursor node.
11191160 Any intermediate directories of the destination will be created.
1120-
1161+ You can use a "=" variant to apply values to the prompt and/or submit
1162+ a value like:
1163+ >
1164+ " Automatically apply "foo" to the prompt and submit.
1165+ nmap <buffer>
1166+ \ <Plug>(my-new-file)
1167+ \ <Plug>(fern-action-new-file=)foo<CR>
1168+ <
11211169*<Plug>(fern-action-new-dir)*
1170+ *<Plug>(fern-action-new-dir=)*
11221171 Open a prompt to ask a path and create a directory of the input path
11231172 from the path of a cursor node.
11241173 Any intermediate directories of the destination will be created.
1125-
1174+ You can use a "=" variant to apply values to the prompt and/or submit
1175+ a value like:
1176+ >
1177+ " Automatically apply "foo" to the prompt and submit.
1178+ nmap <buffer>
1179+ \ <Plug>(my-new-dir)
1180+ \ <Plug>(fern-action-new-dir=)foo<CR>
1181+ <
11261182*<Plug>(fern-action-copy)*
11271183 Open a prompt to ask a path and copy a file/directory of the cursor
11281184 node or marked node path(s) to the input path(s).
@@ -1195,9 +1251,17 @@ The following mappings/actions are only available on file:// scheme.
11951251 Note that this action has NO-relation with the system clipboard.
11961252
11971253*<Plug>(fern-action-grep)*
1254+ *<Plug>(fern-action-grep=)*
11981255 Open a prompt to ask a grep pattern and execute grep command under the
11991256 cursor node. It respects the value of 'grepprg' and 'grepformat' .
1200-
1257+ You can use a "=" variant to apply values to the prompt and/or submit
1258+ a value like:
1259+ >
1260+ " Automatically apply "foo" to the prompt and submit.
1261+ nmap <buffer>
1262+ \ <Plug>(my-grep)
1263+ \ <Plug>(fern-action-grep=)foo<CR>
1264+ <
12011265*<Plug>(fern-action-rename:select)*
12021266*<Plug>(fern-action-rename:split)*
12031267*<Plug>(fern-action-rename:vsplit)*
0 commit comments