标题总结了它,真的。我想知道在 vim 中使用 netrw 浏览文件时如何设置树的当前根。
有任何想法吗?
最佳答案
您还可以使用“ gn ”映射将当前目录更改为光标下的文件夹。
CHANGING TREE TOP netrw-ntree :Ntree netrw-gn {{{2
One may specify a new tree top for tree listings using
:Ntree [dirname]
Without a "dirname", the current line is used (and any leading depth information is elided). With a "dirname", the specified directory name is used.
The "gn" map will take the word below the cursor and use that for changing the top of the tree listing.
关于vim - vim中如何改变netrw树的根?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21996768/