I'm using jedi-vim
. It defines key map <Leader>n
as some commands while I also defines it in .vimrc file like following.
nnoremap <Leader>n <C-w><C-w>
But when I typed <Leader>n
in python file, jedi#usages()
command was executed.
:map <Leader>n
returns:
n <Space>n *@:call jedi#usages()<CR>
n <Space>n * <C-W><C-W>
I also tried to unmap <Leader>n
before I defined the map. However, it raised an error saying nothing was defined.
How to avoid this conflict?
I know the problem will be fixed when I define g:jedi#usages_command
to another command. I'd like to know the way to avoid overlapping mapping.