Change directory of inactive pane of a remote instance of Vifm

119 Views Asked by At

Is there a way to change the directory of inactive pane using --remote argument in an existing instance of Vifm?

1

There are 1 best solutions below

4
On BEST ANSWER

This can be done via :winrun command or two argument form of :cd alone. Example:

# terminal #1
vifm --server-name test

# terminal #2
vifm --server-name test --remote +'winrun , cd /etc'
vifm --server-name test --remote +'cd . /etc'

Using :cd is simpler, but it will exit tree and custom views, so :winrun is preferable in general case, but :cd is more convenient for one off cases.