Re: Change directory in user menu?

Tim Stoodt via mc <[email protected]>
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
Maybe Ctrl \ for the directory hotlist.

Or Esc-c for quick cd

Do you use these commands? Good luck.

On 12/15/22 09:01, Ben via mc wrote:
> I am doing some development that involves widely disjoint directories
>
> What I would like to do is via the User Menu, have some key commands 
> that change the CD for the current pane, just as if I had typed it on 
> the command line:
>
> cd /User/me/src/mycode
>
> However, with this entry...
>
> 1       change to my src directory
>         cd /User/me/src/mycode
>
> ...the pane does not move. I presume this occurs because this is 
> executed as a script, and so the cd happens in the context of the 
> script and is lost when the script ends.
>
> Is there a way to actually cd the current pane from the user menu?
>
> TIA
>

-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.