5

たとえば、application_controller.rbというファイルを編集しています~/work/foo/app/controller/

ここで、NERDTreeウィンドウを開き、フォルダが自動的に展開~/work/foo/app/controller/され、ファイルにカーソルが置かれることを期待しますapplication_controller.rb。どのように?

4

1 に答える 1

10

:NERDTreeFindおそらくあなたが探しているものです:

Find the current file in the tree.

If not tree exists and the current file is under vim's CWD, then init a
tree at the CWD and reveal the file. Otherwise init a tree in the current
file's directory.
于 2012-01-01T13:48:40.387 に答える