Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How does one create a symbolic link in vifm? The documentation and help file mention no word of it.

share|improve this question
up vote 2 down vote accepted

I have this in my .vifm/vifmrc:

COMMAND=ln=!ln -s %d/%f %D

this way when you call :ln, a link of the selected file is made in the other directory (if you are in split view). it even works with multiple files selected with visual (v) or tag (t).

share|improve this answer
    
this is great; thank you. – moo Apr 23 '10 at 19:56

I don't think there is a specific command, but you can execute any command using:

:! <command>

such as:

:! ln -s /media/usb usb
share|improve this answer
    
well that's unfortunate. – moo Feb 26 '10 at 17:17

For vifm version 0.8 you can add in .vifm/vifmrc: command ln ln -s %d/%f %D Then you can call :ln, push Enter and symbolic link(s) of the file or directory under cursor (or selected files or directories) will be created to the other window directory.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .