Vifm - Jump to file in an existing instance of Vifm

112 Views Asked by At

Is there a way to make an existing instance of Vifm to jump to a specific file using --remote argument?

1

There are 1 best solutions below

0
On BEST ANSWER

There is :goto command, which locates a path. Alternatively there is --select command-line option, but it enters directories instead of positioning cursor on them (files are handled as in :goto). Examples:

# terminal #1
vifm --server-name test

# terminal #2
vifm --server-name test --remote +'goto /etc'
vifm --server-name test --remote --select /etc/fstab