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
{{ message }}
Repository navigation
Text file preview doesn't show the final lines?
#539
I know the question is about fern-preview, but I think there's more people that use it that hang out on this discussions.
I can open a preview via Ctrl+p, and scroll through it with Ctrl+d and Ctrl+u. However, I've noticed that scrolling down never reaches the last line of the file, as shown in this screencast:
All my settings for Fern are these:
let g:fern#keepalt_on_edit = 1
let g:fern#keepjumps_on_edit = 0
let g:fern#default_hidden = 1
let g:fern#renderer = 'nerdfont'
function! s:fern_settings() abort
nmap <silent> <buffer> p <Plug>(fern-action-preview:toggle)
nmap <silent> <buffer> <C-p> <Plug>(fern-action-preview:auto:toggle)
nmap <silent> <buffer> <C-d> <Plug>(fern-action-preview:scroll:down:half)
nmap <silent> <buffer> <C-u> <Plug>(fern-action-preview:scroll:up:half)
nmap <silent> <buffer> D <Plug>(fern-action-remove)
endfunction
nnoremap <silent> <Leader>fn :Fern .<CR>
augroup fern-settings
autocmd!
autocmd FileType fern call s:fern_settings()
augroup END
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I know the question is about fern-preview, but I think there's more people that use it that hang out on this discussions.
I can open a preview via Ctrl+p, and scroll through it with Ctrl+d and Ctrl+u. However, I've noticed that scrolling down never reaches the last line of the file, as shown in this screencast:
All my settings for Fern are these:
All reactions