Nerdtree: `p` doesn't work

Created on 25 May 2011  路  7Comments  路  Source: preservim/nerdtree

I updated to the latest nerdtree version and p no longer works to visit the parent node.

bug

All 7 comments

+1

hey guys, its working here. What nerdtree options are you using?

Hi, I use vundle (if that matter) and in my .vimrc following options:

    Bundle 'git://github.com/scrooloose/nerdtree.git'

    let NERDTreeShowBookmarks=1
    let NERDTreeChDirMode=2
    let NERDTreeQuitOnOpen=1
    let NERDTreeShowHidden=1
    let NERDTreeKeepTreeInNewTab=0
    let NERDTreeMinimalUI=1 " Disables display of the 'Bookmarks' label and 'Press ? for help' text.
    let NERDTreeDirArrows=1 " Tells the NERD tree to use arrows instead of + ~ chars when displaying directories.

Its working here with those options set.

What version of vim are you guys using?

Macvim, and vim 7.3

I'm pretty sure it's not related (this issue was opened back in 2011) but since it's an open one, i thought this might be good here too.

It seems to me that p is broken when i want to go up from a directory that's parent line is combined of multiple dirs. This is a new feature from this commit.

So if i have it like this

  ~ views/some_folder/
    + boxs/ <--- this is where my cursor is

Then p wont work, while if there's no such combined directory in the path then it works as before.
Clarification: "Won't work" as in the selected line jumps up to the combined directory but won't go to the parent of the combined one, so in the example, it would stuck on ~ views/some_folder/.

I am not sure why this issue was closed. @complex857 clearly described the problem, and I was able to replicate the bug precisely. It should be a simple fix that I will get to eventually. Re-opening now...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kevinSuttle picture kevinSuttle  路  4Comments

jordwalke picture jordwalke  路  4Comments

nicknick63 picture nicknick63  路  6Comments

BigfootN picture BigfootN  路  5Comments

fncll picture fncll  路  4Comments