This is an atom package that provides keymaps for the git tab 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 the vim plugin fugitive. 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 fugitive provided keymappings will be limited (though, I believe, useful).
This package provides keymaps only.
Provides the following keymaps in the git tab:
Keystroke | Description | Area |
---|---|---|
j | Move down | Staging Area |
k | Move up | Staging Area |
- | Stage / Unstage selected item | Staging Area |
c c | Commit or move to commit message entry | Staging Area |
enter | Open file | Staging Area |
U | Discard changes | Unstaged changes area |
U | Unstage selected item | Staged changes area |
'.workspace':', g f': 'github:toggle-git-tab-focus'', g g': 'github:toggle-git-tab'', g r': 'github:fetch'', g p': 'github:pull'', g P': 'github:push'', g c': 'github:commit'
I didn't include this in this package because everyone has different preferences for (in vim-speak). You might want to use 'space g' or '\ g'. It's up to you. Personally, I enjoy using ',' as my leader.
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.