vim-jedi has an option to split goto commands depending on the size of the current window called "winwidth". It would be nice to add this option to YCM's g:ycm_goto_buffer_command.
------------------------------------------------------------------------------
6.11. `g:jedi#use_splits_not_buffers` *g:jedi#use_splits_not_buffers*
If you want to open new split for "go to", you could set this option to the
direction which you want to open a split with.
Options: top, left, right, bottom or winwidth
Default: "" (not enabled by default)
Note: with the 'winwidth' option the window is split vertically or horizontally
depending on the width of the window relative to 'textwidth'. This essentially
means that if the window is big enough it will be split vertically but if it is
small a horizontal split happens.
vim-jedi has an option to split goto commands depending on the size of the current window called "winwidth". It would be nice to add this option to YCM's
g:ycm_goto_buffer_command
.