lambdalisue / vim-gita

[Obsolete] An awesome git handling plugin for Vim
Other
226 stars 8 forks source link

Disable some default mappings in the commit buffer #62

Closed Shougo closed 8 years ago

Shougo commented 9 years ago

I have noticed vim-gita commit buffer defines following mappings. They are conflicted Vim's default mappings b. I want to disable them...

n  bB           @<SNR>328_smart_map('bB', '<Plug>(gita-action-blame-browse)')
    Last set from ~/.cache/neobundle/vim-gita/autoload/gita/monitor.vim
n  bb           @<SNR>328_smart_map('bb', '<Plug>(gita-action-blame)')
    Last set from ~/.cache/neobundle/vim-gita/autoload/gita/monitor.vim
lambdalisue commented 9 years ago

It is not possible to disable individual mapping now. You can disable all mappings in gita-commit buffer with let gita#features#commit#enable_default_mappings = 0 (https://github.com/lambdalisue/vim-gita/blob/master/plugin/gita.vim#L74) or you need to unmap with autocmd.

Shougo commented 9 years ago

OK. I will try it.

lambdalisue commented 9 years ago

While vim-gita is in under development, I'm willing to change the default key mappings if there are any better mappings. If you have any idea, let me know :smile:

lambdalisue commented 8 years ago

Close it while new beta release will change mappings.