How to open the parent dir of the current file in NERDTree?

Cheng

Like what :Ve and :E did, but in NERDTree.

Philippe Mongeau
:NERDTree %

Works for me. % is the path to the current file, so you can't cd to %, but NERDTree interprets it intelligently and opens the folder instead of the file.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

NERDTree (Vim): How to open a file with path in NERDTree quickly

How to open a file found with Dir?

Vim: How to synchronize NERDTree with current opened tab file path?

MacVim+NERDTree: How to open a file as a split in furthest horizontal split

How to unlink file from children dir of parent dir? PHP

how to check if NERDTree is open in vimscript?

Vim NERDTree | Remap '<cr>' to 'go' | open file but remain in NerdTree window

How to open a Finder at the "current dir" on Mac OS in Python?

Make Nerdtree Use Choosewin On Open File

How to grep all files beside current dir, parent dir and one definded?

How to I map "Ctrl + g" to open NerdTree

How to reference a file relative to the current dir in a shell script?

How can I get the parent of the current file?

VIM: How to open new file in current buffer?

How to open a file manager of the current directory in the terminal?

How to jump back to NERDTree from file in tab?

how can I get the relative path of the current director up to an arbitrary parent dir?

How do I open the directory of the current open file?

How to open a file in the current open Eclipse workspace from command line?

vim: open NERDTree and move the cursor to the file editing area

How to get parent dir in Makefile

How to get the parent dir location

nerdtree and current directory

Execute command for every file in the current dir

Find a file and delete the parent level dir

Why does bash convert .* to hidden file list in current dir and how to prevent it from doing it?

How to open a new file in the current directory with gvim on Windows?

How to open a text file in current working directory with `gedit admin://`?

How to open files contained in a folder in current file path