Ticket #2693 (new enhancement)

Opened 8 years ago

Last modified 6 years ago

implement "follow symlink" command

Reported by: ossi Owned by:
Priority: major Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc: gotar@…, anton.novosyolov@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

it would be useful to be able to jump from a symlink to the directory+file it references.

shortcut could be ctrl-shift-f, and alt-shift-f to follow the link in the opposite panel, i think.

this is semantically somewhat related to ticket #2423. oh, and now i notice i even added a comment which says exactly that a year ago. :D

Attachments

patch (878 bytes) - added by ForeverYoung 6 years ago.
patch

Change History

comment:1 Changed 8 years ago by gotar

  • Cc gotar@… added

comment:2 Changed 8 years ago by andrew_b

We already have a command+keybind to open a symlink in the other panel:

PanelOtherCdLink = alt-l

It works with the link to dir only. Would it be enhanced to work with link to files?

comment:3 Changed 7 years ago by ossi

hmm, i guess it's ok to "overload" the binding like that - i can just press enter to get to the parent directory of a directory like i would for files. still a bit confusing, though.

i'd also want a shift-alt-l binding for the current panel.

comment:4 Changed 7 years ago by angel_il

btw: ctrl-shift-f == ctrl-f == ctrl-F for many types of terminals.

Changed 6 years ago by ForeverYoung

patch

comment:5 Changed 6 years ago by ForeverYoung

Some improvement to PanelOtherCdLink? in patch (src/filemanager/panel.c) - select linked file on other panel (if symlink to file).

Why change panel back and move down?

comment:6 Changed 6 years ago by ForeverYoung

  • Cc anton.novosyolov@… added
Note: See TracTickets for help on using tickets.