mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 18:54:44 +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
|
||||
setlocal completeopt=menuone,longest,preview
|
||||
inoremap <C-c> <ESC>
|
||||
if len(mapcheck('<C-c>', 'i')) == 0
|
||||
inoremap <C-c> <ESC>
|
||||
end
|
||||
end
|
||||
|
||||
if g:jedi#popup_on_dot
|
||||
|
||||
Reference in New Issue
Block a user