From 07034941888c0787ab956a0ecc5a17247070bf7d Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 19 Aug 2015 22:30:24 +0200 Subject: [PATCH] smart_auto_mappings: use C-r instead of expr-mapping This makes it work in tests. Using `` instead will not trigger the expansion of the mapping. This is likely a bug in vim-vspec; I have tried 1.4.1 (currently pinned) and 1.6.1. --- ftplugin/python/jedi.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftplugin/python/jedi.vim b/ftplugin/python/jedi.vim index 26f26ee..f1885ec 100644 --- a/ftplugin/python/jedi.vim +++ b/ftplugin/python/jedi.vim @@ -38,7 +38,7 @@ if g:jedi#auto_initialization endif if g:jedi#smart_auto_mappings == 1 - inoremap jedi#smart_auto_mappings() + inoremap =jedi#smart_auto_mappings() end if g:jedi#auto_close_doc