LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2013, 12:58 PM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Rep: Reputation: 213Reputation: 213Reputation: 213
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
 
Old 02-12-2013, 01:56 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 15,661

Rep: Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133
Ctrl-Enter will enter the whole filename into the command line. Is this what you are looking for?
 
1 members found this post helpful.
Old 02-14-2013, 04:09 PM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by pan64 View Post
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.
 
Old 02-17-2013, 11:54 AM   #4
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by pan64 View Post
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
 
Old 02-17-2013, 12:08 PM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 15,661

Rep: Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133
glad to help you
if you really want to say thanks just press YES (bottom right corner)
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Midnight Commander: where to open grautu Debian 3 04-19-2013 01:42 AM
midnight commander file rename ques stabu Linux - Software 10 02-01-2013 10:57 PM
BLFS Tip: Use current version of Midnight Commander (mc) Marlino Linux From Scratch 1 08-17-2011 04:12 PM
Midnight Commander in screen, sometimes fails to open up. Have to use 'mc -d' Old_Fogie Slackware 1 11-25-2009 01:02 PM
Configuring mc (midnight commander) for file editing sanjay.krk Linux - Newbie 9 09-18-2008 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration