This is an atom package that provides keymaps for the tree-view when you're using vim-mode-plus. This could technically be used without vim-mode-plus, but if you want vim bindings anyway, you'll probably have vim-mode-plus installed.
My goal is to provide similar mappings to vim's NERDTree plugin. However, currently, I don't plan to write any custom commands to accomplish this. The scope of this package is to solely provide keymaps for existing commands. So the available NERDTree provided keymappings will be limited (though, I believe, useful).
This package provides keymaps only.
Provides the following keymaps:
|o||Open file in previous window|
|O||Recursively open directory (or files parent directory)|
|x||Recursively collapse directory (or files parent directory)|
|g g||Move to top|
|G||Move to bottom|
|m a||Add file|
|m d||Remove file|
|m m||Move file|
|i||Open Split (Vertically)|
|s||Open Split (Horizontally)|
If you'd like to quickly toggle the tree-view, you can add something like:
'body':', n': 'tree-view:toggle'
I didn't include this in this package because everyone has different preferences for (in vim-speak). You might want to use 'space n' or '\ n'. It's up to you. Personally, I enjoy using ','.
GPLv3. See LICENSE for more details.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.