TransWikia.com

Options from external commands in vim?

Vi and Vim Asked by mtheorylord on August 25, 2020

If I run from the vim terminal

:! zathura foo.pdf

It opens foo on top of the terminal and when I exit I go back to the vim file. If instead I try:

:! zathura --fork foo.pdf

The intended behaviour is to open the pdf in a new window while still having the vim file open. It doesn’t open at all. What do I do to fix this and why is it occuring?

One Answer

I got the solution:

:! st zathura food.pdf

Answered by mtheorylord on August 25, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP