You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
" This is the default option:
" - Preview window on the right with 50% width
" - CTRL-/ will toggle preview window.
" - Note that this array is passed as arguments to fzf#vim#with_preview function.
" - To learn more about preview window options, see --preview-window section of man fzf.
let g:fzf_preview_window = ['right:50%', 'ctrl-/']
But before we do that, we should consider not vendoring this function altogether. The value it added was conditionally setting g:preview_window = 'right' if the screen was wide enough but it no longer that does in upstream (maybe the logic was moved elsewhere?).
The text was updated successfully, but these errors were encountered:
Latest version of fzf-vim has updated
g:fzf_preview_window
from a string to a list. This was to allow adding bind for toggling preview window.From doc:
It seems like
s:preview
was copied from fzf-vim and needs to be updated, can be pulled from junegunn/fzf.vim@44057cc#diff-f697bec8f1ba94d14196b753546e9fe6a486a33e10f25afb42765573c991fa0fR42vim-agriculture/autoload/agriculture.vim
Lines 38 to 41 in 1095d90
But before we do that, we should consider not vendoring this function altogether. The value it added was conditionally setting
g:preview_window = 'right'
if the screen was wide enough but it no longer that does in upstream (maybe the logic was moved elsewhere?).The text was updated successfully, but these errors were encountered: