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!

Related Questions

Inconsistent behavior from map

1  Asked on August 31, 2021 by stevied


Persistent tag highlights when changing between buffers

1  Asked on August 31, 2021 by vjekoslav


Use normal command output as variable

1  Asked on August 31, 2021 by hassek


Gvim throws the error ‘E285: Failed to create input context’

1  Asked on August 31, 2021 by vladislavthepoker69


How to add a breakpoint into vim

0  Asked on February 18, 2021


Disable mapping of `Man`

0  Asked on February 8, 2021 by tornaxo7


Convert sed regex to vim regex

3  Asked on February 6, 2021


Automatically close oldest buffers?

3  Asked on February 1, 2021 by truejournals


Ask a Question

Get help from others!

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