You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Update vmrc to include: map <silent> <Leader>M :tabnew +MagitOnly<CR>
Restart VIM and hit <leader>M
Unexpected: magit is not opened in a tab
Environment
I am using pathogen, so .vim/after/ftplugin doesn't work to easily address this.
It would be better if users had more control over mapping this plugin. I would like to remove the default <leader>M mapping and set my own. Opening in a new tab, as above, would really useful. Others want this also.
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
map <silent> <Leader>M :tabnew +MagitOnly<CR>
<leader>M
Environment
I am using pathogen, so
.vim/after/ftplugin
doesn't work to easily address this.vim
: 8.0The text was updated successfully, but these errors were encountered: