hug*_*gie 2 vim vim-plugin jedi-vim
我正在尝试Vim插件Jedi-vim,它会在自动完成时打开一个预览窗口,并在完成时关闭.这可能导致光标和代码在物理LCD屏幕中的位置跳跃,这让我的眼睛不舒服.我可以选择将此窗口打开,但我更喜欢拥有更大的屏幕空间.有没有办法将预览窗口移动到底部,或者使用垂直分割?
The only thing that distinguishes the preview window from other windows is the 'previewwindow'
option. You can turn any window into the preview window via :setlocal previewwindow
, or influence the position of it via e.g. :botright vertical pedit
.
When Vim opens the preview window, it is positioned above the current window. So, you either need to manually open it before attempting the completion, or completely turn off this behavior via :set completeopt-=preview
.
归档时间: |
|
查看次数: |
2242 次 |
最近记录: |