-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<C-O> doesn't work in NERDTree #250
Comments
There are many bugs involving ctrl+o and nerd tree, it becomes unusable if you're using |
I'm unable to replicate this problem right now. If either of you could provide more specific examples, I'd be willing to try and confirm. |
Steps:
I just added this line from the documentation which fixes the behavior for this example test:
Although I still get jumps back to nerd tree and inside of it. I'm not sure I want this behavior. I'll live with my fix for a while and figure out later if I want nerdtree to mess with the jumplist at all. |
Very good work, @juanibiapina. This bug is confirmed. |
I discovered another instance of this problem just now:
There is clearly a problem with the way that the NERDTree does not preserve jumps when printing the tree to the tree window. |
The worst case is when ctrl+o does not work at all, even though jumplist is full of stuff. I can't reproduce it in isolation, although it happens to me everyday. |
I'm working on a different project now because nerdtree is too bloated and I don't use the drawer and per-tab windows anyway, but part of the fix for this is easy enough so you can port from here: juanibiapina/vim-lighttree@2521fe4 |
Thanks, @juanibiapina! I had played with a similar fix, myself. |
There is no single way to define what For all these reasons and more, I'm going to close this issue. If anyone proposes a viable specification for this functionality, I'll entertain it. |
Procedure
/var/www/example
/var/www/derpherper/
<C-O>
to go back to/var/www/example
Erroneous Result
The cursor is placed on the last line in NERDTree
Expected Result
Vim jumps back to
/var/www/example
The text was updated successfully, but these errors were encountered: