8000 unable to override <leader>M mapping · Issue #185 · jreybert/vimagit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
unable to override <leader>M mapping #185
Open
@mpareja

Description

@mpareja

Short description of the problem

The plugin maps <leader>M without checking if it was already mapped. This prevents users from easily overriding the mapping. I, for instance, would like to override the mapping to open in a new tab.

Steps to reproduce

  1. Update vmrc to include: map <silent> <Leader>M :tabnew +MagitOnly<CR>
  2. Restart VIM and hit <leader>M
  3. Unexpected: magit is not opened in a tab

Environment

I am using pathogen, so .vim/after/ftplugin doesn't work to easily address this.

  • vim: 8.0
  • current vimagit version: bf7b16e
  • ubuntu
  • terminal
< 4A1E /div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0