diff --git a/nvim/init.vim b/nvim/init.vim index 982468d..85849df 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -63,6 +63,7 @@ Plug 'LnL7/vim-nix', { 'for': 'nix' } " For autocompletion Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } " For Python +Plug 'davidhalter/jedi-vim', { 'for': 'python' } Plug 'zchee/deoplete-jedi', { 'for': 'python' } Plug 'numirias/semshi', { 'for': 'python', 'do': ':UpdateRemotePlugins' } " Autocomplete for Rust @@ -600,6 +601,26 @@ let g:hardtime_ignore_quickfix = 1 let g:hardtime_maxcount = 3 let g:hardtime_allow_different_key = 1 +let g:jedi#goto_command = "jt" +let g:jedi#goto_assignments_command = "ja" +let g:jedi#goto_definitions_command = "jg" +let g:jedi#documentation_command = "jd" +let g:jedi#usages_command = "ju" +let g:jedi#completions_command = "" +let g:jedi#rename_command = "jr" + +let g:jedi#auto_initialization = 1 +let g:jedi#auto_vim_configuration = 0 +let g:jedi#use_tabs_not_buffers = 1 +let g:jedi#popup_on_dot = 1 +let g:jedi#popup_select_first = 0 +let g:jedi#smart_auto_mappings = 0 +let g:jedi#show_call_signatures = "1" +let g:jedi#show_call_signatures_delay = 0 +let g:jedi#show_call_signatures_modes = 'i' +let g:jedi#enable_speed_debugging = 0 +let g:jedi#completions_enabled = 0 + " ----------------------------- Functions ------------------------------------ " For CScope and Quickfix " https://medium.com/@lakshmankumar12/quickfix-and-location-list-in-vim-ca0292ac894d