mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 11:34:51 +08:00
Don't map <C-c> if a mapping already exists, fixes #69
This commit is contained in:
@@ -33,7 +33,9 @@ end
|
|||||||
|
|
||||||
if g:jedi#auto_vim_configuration
|
if g:jedi#auto_vim_configuration
|
||||||
setlocal completeopt=menuone,longest,preview
|
setlocal completeopt=menuone,longest,preview
|
||||||
inoremap <C-c> <ESC>
|
if len(mapcheck('<C-c>', 'i')) == 0
|
||||||
|
inoremap <C-c> <ESC>
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if g:jedi#popup_on_dot
|
if g:jedi#popup_on_dot
|
||||||
|
|||||||
Reference in New Issue
Block a user