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

Split a file with "stay" moves focus to buffer #23

Closed dcalhoun closed 7 years ago

dcalhoun commented 7 years ago

Steps to Reproduce

  1. Open a directory with Atom
  2. Open tree view (C-\)
  3. Split/add tab a file with stay...

Stay Examples

Expected Result

Focus remains on tree view.

Actual Result

Focus is placed on the buffer for the selected file.


Environment

dcalhoun commented 7 years ago

From my research, this is actually a limitation of atom/tree-view that will need to be addressed.

nerd-treeview calls methods that do not pass along the activatePane option. A PR will need to be opened against atom/tree-view to support the options hash passing through.

sQu1rr commented 7 years ago

should be fixed now, i simply refocus on tree-view if it is a stay command. hopefully that will work.