A tool to fast-preview videos, pdfs, images, and txt/code files in iterm2.
- bash
Install all the above mentioned libraries using Homebrew to run this.
- Clone the project
git clone https://github.com/rohinish404/rscope.git
- Go to you zshrc file, add the project directory to the path and source the file.
vi ~/.zshrc
#make changes
source ~/.zshrc
- Type rscope in iterm2 to get something like in the demo below.
demo.mov
- I have only used this in iterm2 and terminal (mac) so not sure about other terminals. Iterm2 it works best. Terminal, the navigation works but for some reason the previews are blurry.
- It's slow and buggy. Sometimes if you move fast, it breaks but i'd implemented sort of caching which will save all the previews in a dir. So second time when you open it, it doesnt break and is faster than earlier.
- I'll be further improving this whenever i get time to make it more faster.