LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   midnight commander: open the current file? (https://www.linuxquestions.org/questions/linux-software-2/midnight-commander-open-the-current-file-4175449691/)

Xeratul 02-11-2013 11:58 AM

midnight commander: open the current file?
 
Hi,

My right panel on a given file is active (selected).

I would like to open it with geany without entering the prompt line the whole filename.

Would you eventually know how to run direclty by typing :

geany and a given key shortcut?

thanks
Kind regards

pan64 02-12-2013 12:56 AM

Ctrl-Enter will enter the whole filename into the command line. Is this what you are looking for?

Xeratul 02-14-2013 03:09 PM

Quote:

Originally Posted by pan64 (Post 4889651)
Ctrl-Enter will enter the whole filename into the command line. Is this what you are looking for?

likely I will try tomorrwo... thank you.
I hope that it works with space.

Xeratul 02-17-2013 10:54 AM

Quote:

Originally Posted by pan64 (Post 4889651)
Ctrl-Enter will enter the whole filename into the command line. Is this what you are looking for?

thanks !!

I complete this thread with the key binding of mc:

http://www.keyxl.com/aaae4b0/407/Mid...-shortcuts.htm


Quote:

Shortcut Command How useful(?)
Common Functions
Midnight Commander
Ctrl + r Refresh active panel + –
Ctrl + x c Opens chmod dialog for marked file + –
Ctrl + x o Opens chown dialog for marked file + –
Alt + ? Opens search dialog + –
Ctrl-x a Open VFS list. If a ftp session times out, you can use this to free the open vfs so you can log in again. + –

Panel Functions
Midnight Commander
TAB Switch focus between left and right panel + –
Insert Marks or removes mark on file(s) + –
Alt + g Marks first file or directory in active panel + –
Alt + r Marks middle file or directory in active panel + –
Alt + j Marks last file or directory in active panel + –
Alt + s Incremental search + –
Ctrl + / Look for filename given in last line of active panel (not whole screen), and jumps on first file + –
* Marks removes marking for all files in active panel (not directories) + –
+ (Plus) Brings up the input box where it can be given regular expression. All files with names that fill condition(s) in regular expression will be marked. + –
\ (Backslash) Remove marking for more data (opposite to + ) + –

Shell Functions
Midnight Commander
Alt + Enter Copies selected filename in command line + –
Ctrl + Shft + Enter Copies full path of selected file in the command line + –
Alt + H Shows command line history

pan64 02-17-2013 11:08 AM

glad to help you
if you really want to say thanks just press YES (bottom right corner)


All times are GMT -5. The time now is 11:23 AM.