stop automatically closeing vim-ipython output with jedi-vim

スポンサーリンク

Even though I commented out the following code in vim_ipython.py, ipython outpu automatically closed.

    # Known issue: to enable the use of arrow keys inside the terminal when
    # viewing the documentation, comment out the next line
    # vim.command('nnoremap <buffer> <Esc> :q<CR>')
    # and uncomment this line (which will work if you have a timoutlen set)
    #vim.command('nnoremap <buffer> <Esc><Esc> :q<CR>')

Add following codes in .vimrc file.

autocmd FileType python setlocal completeopt-=preview
let g:jedi#auto_close_doc = 0

コメント

タイトルとURLをコピーしました