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

`tree-view:toggle` key binding doesn't work if project opened from CLI #6

Closed dcalhoun closed 8 years ago

dcalhoun commented 8 years ago

If the tree view is collapsed when opening a new Atom window via the command line interface (i.e. - atom /path/to/project), the tree-view:toggle key binding does not work.

Behavior

  1. atom /path/to/project
  2. Ensure tree view is closed
  3. Close Atom window
  4. atom /path/to/project
  5. CMD - \

    Expected Outcome

The tree view opens.

Current Outcome

The tree view does not open.

Environment

sQu1rr commented 8 years ago

tree view is not initialised unless its opened, so i cannot interact with it before it is. hopefully delegating this task to treeview itself solves it, can you please test since i could not reproduce

dcalhoun commented 8 years ago

@sQu1rr thank you for the quick responses. You've made a great plugin. I appreciate your work. :smile:

sQu1rr commented 8 years ago

@dcalhoun Thanks for using it ;) I am actually not using atom myself any more. went back to vim. i feel that the main point of vim is performance, and atom is just too slow for me... I use it for markdown files though :)