• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

vim-mode-plus-keymaps-for-tree-view

Provides keymaps for vim-like navigation and control of the tree-view in atom
  • #tree-view
  • #keymaps
  • #vim-mode-plus
  • #nerdtree
ryanolsonx
799
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

What's this?

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).

:rotating_light: This package provides keymaps only.

Provides the following keymaps:

Keystroke Description
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)

Recommended keymap.cson addition

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 ','.

LICENSE

GPLv3. See LICENSE for more details.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by