Open jackielii opened 1 year ago
Please make sure you have searched through the F.A.Q. first. done
Please make sure you are using the latest version of this plugin. done
It's better to use English as it's more friendly to other non-Chinese native users. OK
vim --version
Platform:
:checkhealth floaterm
below.
floaterm: health#floaterm#check ======================================================================== ## common - INFO: Platform: macos - INFO: Nvim: NVIM v0.8.3 - INFO: Plugin: 06c7398 ## terminal - OK: Terminal emulator is available ## floating - OK: Floating window is available
g:floaterm_xxx
let g:floaterm_width=0.8 let g:floaterm_height=0.9 let g:floaterm_title='Terminal' let g:lf_command_override = 'TERM=xterm-kitty lf'
Using kitty 0.27.1, I have image preview setup in lf file manager, with vim-lf plug also installed.
Launch kitty image preview with kitty +kitten icat image.png shows:
kitty +kitten icat image.png
Error: Terminal does not support reporting screen sizes in pixels, use a terminal such as kitty, WezTerm, Konsole, etc. that does.
kitty +kitten icat --print-window-size says 0x0
kitty +kitten icat --print-window-size
0x0
Obviously this doesn't need lf to reproduce.
Using the minimal vimrc
set nocompatible set hidden set termguicolors set runtimepath^=$HOME/.config/nvim/plugged/vim-floaterm filetype plugin indent on syntax on
Launch floaterm with: :FloatermNew!
:FloatermNew!
In the terminal launched, run kitty +kitten icat someimage to see the error message
kitty +kitten icat someimage
Before reporting
Please make sure you have searched through the F.A.Q. first. done
Please make sure you are using the latest version of this plugin. done
It's better to use English as it's more friendly to other non-Chinese native users. OK
Environment
If you are using vim(not neovim), fill in the following blanks
vim --version
: NVIM v0.8.3Platform:
If you are using neovim, just run
:checkhealth floaterm
and post the contentbelow.
Configurations related to vim-floaterm in vimrc(i.e.
g:floaterm_xxx
):Describe your question, feature request, or bug.
Using kitty 0.27.1, I have image preview setup in lf file manager, with vim-lf plug also installed.
Launch kitty image preview with
kitty +kitten icat image.png
shows:kitty +kitten icat --print-window-size
says0x0
Obviously this doesn't need lf to reproduce.
Steps to reproduce
Using the minimal vimrc
Launch floaterm with:
:FloatermNew!
In the terminal launched, run
kitty +kitten icat someimage
to see the error messageActual behaviour
Expected behaviour
Screenshots(Optional, GIF is better)