Skip to content

previewing files

rovr includes a powerful preview sidebar that can display the contents of various filetypes.

plain text files are displayed in a text area with syntax highlighting. the language is determined by the file extension. rovr supports a wide range of languages.

mime types are automatically obtained using puremagic to give you a more accurate information of the file’s type. If you additionally have plugins.file_one enabled with plugins.file_one.get_description, you can view extra information, like how many sections, what type, etc.

if you have bat installed and enabled in the rovr config, it will be used to display text files with syntax highlighting for much more languages and theming.

no screenshots, they don’t play nicely with svg

rovr can display images directly in the terminal. refer to the image previews guide for more details on terminal compatibility and configuration.

when a folder is selected, the preview panel will show a list of the files and folders inside it, allowing you to see the contents without navigating into it.

for archive files (like .zip, .tar.gz, .rar), rovr will display a list of the files and folders contained within the archive.

pdf preview

for pdf files, rovr makes use of poppler. you can also scroll through the pdf with your mouse (scrollbars are unavailable for now) or use your keyboard to navigate it.

rovr makes use of resvg-py to render svg files, so you don’t need resvg installed on your system — it automatically previews the svg file for you without any setup

font preview

for font files (like .ttf, .otf), rovr will display a preview of the font. you can customise the text used in the preview if you want to test extra things