sQu1rr / nerd-treeview

Vim-like NERD Tree behaviour for Atom.io Tree View
https://atom.io/packages/nerd-treeview
MIT License
19 stars 5 forks source link

Open file always creates new tab #19

Closed dcalhoun closed 7 years ago

dcalhoun commented 7 years ago

Steps to Reproduce

  1. Open a file in the editor.
  2. Focus on nerd-treeview via C-0.
  3. Move highlight to a different file from the one currently open in the editor.
  4. Open a different file via o (nerd-treeview:open).

Expected Result

File replaces currently open file.

Current Result

File opens in a new tab, as if the user pressed t (nerd-treeview:open-tab).

Environment

sQu1rr commented 7 years ago

Will take a look/test next week. Thanks for the report.

sQu1rr commented 7 years ago

@dcalhoun - I tested on my atom 1.16 and it seems to work as expected. Does o always result in opening a file in a new tab for you? Did it start recently? Do you have native tree-view keybindings disabled?

dcalhoun commented 7 years ago

Thank you for looking into it.

I have also disabled all other thirty-party plugins and continue to experience the issue.

You likely need to upgrade to Atom 1.17.0 to experience the issue. One notable change is...

Removal of jQuery from all bundled packages

sQu1rr commented 7 years ago

I can confirm this issue on 1.17.0, will look into it