AnswerBun.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!

Related Questions

How to get the line numbers for all matches?

2  Asked on November 7, 2021 by xiaodong-huan

 

Error when installing Vim

1  Asked on November 5, 2021

   

What does :s (by itself) do?

1  Asked on August 31, 2021

 

Adding Filetype != filetypes

1  Asked on August 31, 2021

   

“The ycmd server SHUT DOWN” with vim 8.1

1  Asked on August 31, 2021 by lus-de-sousa

   

PATH order different in vim terminal window

1  Asked on August 31, 2021 by froxset

 

Shell syntax highlighting

2  Asked on August 31, 2021

   

v$ without trailing space?

1  Asked on August 31, 2021 by tallboy

         

Modify the path of a file be opened

0  Asked on August 31, 2021 by run_the_race

 

Use pipe symbol as separator in statusline

1  Asked on August 31, 2021 by user419050

 

Undo macro instances

1  Asked on August 31, 2021

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP