Kitty + Tmux + LF + Image preview! #1153
Replies: 5 comments 5 replies
-
Hey great setup !. Also slightly off topic, how which software did you use to record your screen and get it in video form like that ? |
Beta Was this translation helpful? Give feedback.
-
Is there a script or something for this. I have heard it is possible to have image preview in |
Beta Was this translation helpful? Give feedback.
-
Thanks, does that preview script use pistol? After I asked here I found out about pistol. But I would like to not use it as the package on aur is outofdate. Also is gorun need installing to run go version of the script? |
Beta Was this translation helpful? Give feedback.
-
Ok I get it now. I had a problem before getting these preview script to work, now it makes more sense. I tried your script and it freezes on first pdf file and stay that way. I guess it is because of your mac setup as you said. but I could not notice the path to your I think I would start to play around with that script and add stuff step by step. I like bash scripting altho I am new to it, so it would be a fun project right now image previews and archive files are fine . but I need a lot more to add. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @jackielii - Sorry to ping you so long after the last reply in this thread, but just in case you're still working on this, I was curious if you had any updates. I've tried to follow the examples from your dotfiles by copying your go files, installing
What happens is that when I browse files from a directory, it seems to cache the first preview and then displays the same image for all other files. And if I try it in Tmux then the same thing happens, except it briefly appears then disappears. I'm using Tmux v3.5a and lf v33. If you have any tips, please let me know. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
Today I tried out lf with:
kitty: nightly at kovidgoyal/kitty@31d8a98
tmux: 3.3a
It looks like this
Screen.Recording.2023-03-09.at.14.05.17.mov
Mostly working great!
A couple of issues still exists:
Somehow kitty nightly increases the font weight by 1. I.e. I use to use
Fira Code Medium
, but now I have to useFira Code Regular
to have the same effectBeta Was this translation helpful? Give feedback.
All reactions