2

What program is called when K is pressed is set by keywordprg. By default, this is set to man (the linux manual). Changing it to pydoc so as to get Python documentation will do the trick, but then you don't the manual being checked anymore - which is an issue if, for example, you're working with C code, as C's library code has documentation in the man system ...


2

Remap <up> key to close popup menu and move cursor up when popup menu is visible: inoremap <expr> <up> pumvisible() ? '<c-e><up>' : '<up>' :h :map-expression :h complete_CTRL-E :h pumvisible()


1

As noted by @Christian Brabbandt in the comment before, apparently, this is from YouCompleteMe auto-completion. As mentioned in YouCompleteMe, github about Diagnostic UI, This turns on YCM's diagnostic display features including like the gutter signs, text highlighting, diagnostic echo and auto location list population. To disable this, I put : let g:...


1

To add to existing answers, I found empty(v:completed_item) to be unreliable, and sometimes it will be empty even though I have something selected in the pum. What worked for me was to use complete_info() and directly get the line selected. if the selected line is -1, then we know for sure nothing is selected. pumvisible() ? (complete_info().selected == -1 ...


1

You can compile Vim from source to configure which interpreter it should use. The full instructions can be found on the YouCompleteMe wiki. It turns out the method described in the original post is correct: configuring the installation with the following options should have Vim link against Python 3.7 ./configure \ --enable-python3interp=yes \ ...


1

The highlight group used to style the current argument is called YCMInverse, since its default is to reverse foreground and background colors. Its default is defined here as: hi default YCMInverse term=reverse cterm=reverse gui=reverse Since it's defined using hi default, you can override it by setting your own from your vimrc. For example, to highlight ...


1

Those symbols are displayed in what's called the signcolumn. Fortunately, there's some degree of control over it using the 'signcolumn' setting. Available values will cause the column to be shown: "auto" only when there is a sign to display "no" never "yes" always "number" display signs in the 'number' column. If the ...


1

It seems to me that the issue you're having is that your plug-in manager is correctly loading the YouCompleteMe plug-in, however it's not working right after being installed by the plug-in manager because the external steps required by YouCompleteMe are not completed yet. So I'm going to go ahead and strongly recommend you switch from Vundle to vim-plug as ...


Only top voted, non community-wiki answers of a minimum length are eligible