我可以按 o 但它会创建一个新窗口并在那里打开文件。我希望它在同一个窗口中打开。至少每次打开某个文件时它都应该显示在同一个窗口上,但它为我打开的每个文件创建新窗口。还有没有办法让它以垂直拆分而不是水平拆分的方式打开?我在哪里可以找到“Netrw 目录列表”模式下所有可能命令的完整文档/备忘单?
这是帮助中的快速参考
--- -----------------
Map Quick Explanation
--- -----------------
<cr> Netrw will enter the directory or read the file
<del> Netrw will attempt to remove the file/directory
D Attempt to remove the file(s)/directory(ies)
o Enter the file/directory under the cursor in a new
browser window. A horizontal split is used.
O Obtain a file specified by cursor
p Preview the file
P Browse in the previously used window
qf Display information on file
R Rename the designed file(s)/directory(ies)
t Enter the file/directory under the cursor in a new tab
v Enter the file/directory under the cursor in a new
browser window. A vertical split is used.
x View file with an associated program
% Open a new file in netrw's current directory
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4382 次 |
| 最近记录: |