Lqu*_*yvg 40
这是在man ranger
:
@
打开包含“shell %s”内容的控制台,将光标放在“%s”之前,以便您可以快速运行以当前选择作为参数的命令。
所以,
突出显示您要处理的文件 Space
键入@
以进入命令提示符,:shell %s
光标位于之前%s
输入您的命令名称并按 Enter
您指定的命令将使用选定的文件名作为参数执行
手册页还包括添加暂停以检查命令输出:
Run Code Online (Sandbox Code Playgroud)FLAGS There are some additional flags that can currently be used only in the "shell" command: (for example ":shell -w df") p Redirect output to the pager s Silent mode. Output will be discarded. w Wait for an Enter-press when the process is done