Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resolving a vim plugin mapping conflict - mapping already exists for \t

I followed http://sontek.net/blog/detail/turning-vim-into-a-modern-python-ide#intro to install a bunch of plugins for Python programming in gvim (installed on a Windows 8 machine). It appears that there is a mapping conflict between the 'command-t' and 'tasklist' plugins, as I get the following error message:

>Error detected while processing C:\Users\Willem\vimfiles\bundle\tasklist\pl
>ugin\tasklist.vim:
>
>line  369:
>
>E227: mapping already exists for \t

Then I type :map in vim and see that one mapping is:

>n   \t             * :CommandT<CR>

Is there a good way to resolve this?

like image 435
user2688151 Avatar asked Aug 20 '13 23:08

user2688151


1 Answers

tasklist will not map to <leader>t if a mapping to <Plug>TaskList is found.

So you just need to create a mapping to <Plug>TaskList in your vimrc. The example I found in the source code was

nnoremap <leader>v <Plug>TaskList
like image 154
FDinoff Avatar answered Oct 02 '22 22:10

FDinoff