LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-23-2013, 10:50 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
midnight commander: simple popup window to rename a file


Hi,

On our forum I came to read this thread: http://www.linuxquestions.org/questi...e-ques-352117/

But it is not likely what is searched in this thread here.

I would desire to have a simple popup window to rename the file simply.

For instance lfm with <F2> keypress, you get a popup and you can rename. Something similar I would like with mc,a nd not a big window (complex) such as F6-move.

Any help would appreciated.
Have a great day!
 
Old 02-23-2013, 11:51 AM   #2
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by xeratul View Post
hi,

on our forum i came to read this thread: http://www.linuxquestions.org/questi...e-ques-352117/

but it is not likely what is searched in this thread here.

I would desire to have a simple popup window to rename the file simply.

For instance lfm with <f2> keypress, you get a popup and you can rename. Something similar i would like with mc,a nd not a big window (complex) such as f6-move.

Any help would appreciated.
Have a great day!
solved:

Quote:
[editor]
editxstore = ctrl-insert
editxpaste = shift-insert
editxcut = shift-delete

editdeleteline = ctrl-y
editdeletetolineend = ctrl-k
editdeletetolinebegin =

editleft = left
editright = right
editup = up
editdown = down

editenter = enter
editreturn = shift-enter
editbackspace = backspace
editdelete = delete
editpageup = pgup
editpagedown = pgdn
editwordleft = ctrl-left
editwordright = ctrl-right
edithome = home
editend = end
edittab = tab
editundo = ctrl-u
editbeginningoftext = ctrl-home; alt-lt
editendoftext = ctrl-end; alt-gt
editscrollup = ctrl-up
editscrolldown = ctrl-down
editbeginpage = ctrl-pgup
editendpage = ctrl-pgdn
editdeletewordleft = alt-backspace
editdeletewordright = alt-d
editparagraphup =
editparagraphdown =
editsave = f2
editload =
editnew = ctrl-n
editsaveas = f12
editmark = f3
editcopy = f5
editmove = f6
editremove = f8
editmarkall =
editunmark =
editfind = f7

editshiftblockleft =
editshiftblockright =

editpageuphighlight = shift-pgup
editpagedownhighlight = shift-pgdn
editlefthighlight = shift-left
editrighthighlight = shift-right
editwordlefthighlight = ctrl-shift-left
editwordrighthighlight = ctrl-shift-right
edituphighlight = shift-up
editdownhighlight = shift-down
edithomehighlight = shift-home
editendhighlight = shift-end
editbeginningoftexthighlight = ctrl-shift-home
editendoftexthighlight = ctrl-shift-end
editbeginpagehighlight = ctrl-shift-pgup
editendpagehighlight = ctrl-shift-pgdn
editscrolluphighlight = ctrl-shift-up
editscrolldownhighlight = ctrl-shift-down
editparagraphuphighlight =
editparagraphdownhighlight =

editpageupalthighlight = alt-pgup
editpagedownalthighlight = alt-pgdn
editleftalthighlight = alt-left
editrightalthighlight = alt-right
editwordleftalthighlight = ctrl-alt-left
editwordrightalthighlight = ctrl-alt-right
editupalthighlight = alt-up
editdownalthighlight = alt-down
edithomealthighlight = alt-home
editendalthighlight = alt-end
editbeginningoftextalthighlight = ctrl-alt-home
editendoftexthighlight = ctrl-alt-end
editbeginpagehighlight = ctrl-alt-pgup
editendpagealthighlight = ctrl-alt-pgdn
editscrollupalthighlight =
editscrolldownalthighlight =
editparagraphupalthighlight =
editparagraphdownalthighlight =

editsaveblock = ctrl-f
editcolumnmark = f13
editfindagain = f17
editreplace = f4
editreplaceagain = f14
editcompleteword = alt-tab
editdebugstart =
editdebugstop =
editdebugtogglebreak =
editdebugclear =
editdebugnext =
editdebugstep =
editdebugbacktrace =
editdebugcontinue =
editdebugentercommand =
editdebuguntilcurser =
editinsertfile = f15
editquit = f10
edittoggleinsert = insert
edithelp = f1
editdate =
editrefresh = ctrl-l
editgoto = alt-l
editmanpage =
editsort = alt-t
editmail =
editcancel =
editcomplete =

editparagraphformat = alt-p
editutil =
edittypeloadpython =
editfindfile =
editctags =
editmatchbracket = alt-b
editterminal =
editterminalapp =
editextcmd = alt-u
editusermenu = f11

editsavedesktop =
editnewwindow =
editcycle =
editmenu = f9
editsaveandquit =
editrunanother =
editchecksaveandquit =
editmaximize =

edittogglebookmark = alt-k
editflushbookmarks = alt-o
editnextbookmark = alt-j
editprevbookmark = alt-i

editselectionhistory =
editshell = ctrl-o
editinsertliteral = ctrl-q

editbeginrecordmacro =
editendrecordmacro =
editbeginorendmacro = ctrl-r
editexecutemacro = ctrl-a
editdeletemacro =

edittogglelinestate = alt-n
edittoggletabtws = alt-underline
edittogglesyntax = ctrl-s

editfinddefinition = alt-enter
editloadprevfile = alt-minus
editloadnextfile = alt-plus

selectcodepage = alt-e

[viewer]
viewhelp = f1
viewtogglewrapmode = f2
viewquit = f3; f10; q; esc; ctrl-g
viewtogglehexmode = f4
viewgoto = f5
viewsearch = f7; question; slash
viewtogglemagicmode = f8
viewtogglenroffmode = f9
viewcontinuesearch = ctrl-r; ctrl-s; f17; n
viewmovetobol = ctrl-a
viewmovetoeol = ctrl-e
viewmoveleft = h ; left
viewmoveright = l; right
viewmoveup = k; y; insert; up
viewmovedown = j; e; delete; down; enter
viewmovepgdn = f; space; pgdn
viewmovepgup = b; pgup
viewmovehalfpgdn = d
viewmovehalfpgup = u

viewgotobookmark = m
viewnewbookmark = r

viewnextfile = ctrl-f
viewprevfile = ctrl-b
selectcodepage = alt-e
showcommandline = ctrl-o
viewtoggleruler = alt-r

[viewer:hex]
viewhelp = f1
viewtogglehexeditmode = f2
viewquit = f3; f10; q; esc; ctrl-g
viewtogglehexmode = f4
viewgoto = f5
viewhexeditsave = f6
viewsearch = f7; question; slash
viewtogglemagicmode = f8
viewtogglenroffmode = f9
viewtogglehexnavmode = tab
viewmovetobol = ctrl-a; home
viewmovetoeol = ctrl-e; end
viewmoveleft = b; left
viewmoveright = f; right
viewmoveup = k; y; up
viewmovedown = j; delete; down

[main]
cmdhelp = f1
cmdusermenu = shift-f2

cmdview = f3
cmdviewfile = f13

cmdedit = f4 ; e ; i ; ctrl-i

cmdcopy = f5
cmdrename = f6
cmdmkdir = f7
cmddelete = f8
cmdmenu = f9
cmdquit = f10
cmdmenulastselected = f19
cmdquietquit = f20

cmdfind = alt-question

cmdquickcd = alt-c
cmdquickchdir = ctrl-backslash

cmdreread = ctrl-r

cmdsingledirsize =

cmdsuspend = ctrl-z

cmdswappanel = ctrl-w ; alt-w

cmdhistory =

cmdtogglelisting = alt-t
cmdtoggleshowhidden = alt-dot
showcommandline = $ ; :

Cmdcopycurrentpathname = alt-a
cmdcopyotherpathname = alt-shift-a
cmdfilteredview = alt-exclamation

cmdselect = kpplus
cmdunselect = kpminus
cmdreverseselection = kpasterisk
extmap1 = ctrl-x




[main:xmap]
cmdchmod = c
cmdchown = o
cmdcomparedirs = d
cmdeditsymlink = ctrl-s
cmdlink = l
cmdsymlink = s
cmdinfo = i
cmdquickview = q
cmdexternalpanelize = exclamation
cmdreselectvfs = a
cmdjobs = j

cmdcopycurrentpathname = p
cmdcopyotherpathname = ctrl-p
cmdcopycurrenttagged = t
cmdcopyothertagged = ctrl-t





[panel]
panelstartsearch = ctrl-s; alt-s ; f
panelmarkfile = insert; ctrl-t ; v

panelmovedown = down; ctrl-n ; j
panelmoveup = up; ctrl-p ; k

panelmoveleft = left
panelmoveright = right

panelprevpage = pgup ; alt-v ; ctrl-u ; u
panelnextpage = pgdn ; ctrl-d ; d ; space

paneldoenter = enter ; l

panelchdirotherpanel = alt-o ; ctrl-l ; ctrl-h
panelchdirtoreadlink = alt-l

paneledit = i ; e
panelviewsimple = o
paneleditnew = shift-f4 ; alt-f4 ; n
panelcopylocal = shift-f5 ; alt-f5 ; y

panelrenamelocal = f2 ; r
paneldeletelocal = f18

panelreverseselection = alt-asterisk

panelselect = alt-plus ; plus
panelunselect = alt-minus ; minus

panelctrlnextpage = ctrl-pgdn
panelctrlprevpage = ctrl-pgup ; backspace ; h

paneldirectoryhistorylist =
paneldirectoryhistorynext =
paneldirectoryhistoryprev =

panelgotobottomfile = alt-j
panelgotomiddlefile = alt-r

panelsyncotherpanel = alt-i

panelgototopfile = alt-g

panelsetpanelencoding = alt-e

panelmovehome = alt-lt; home ; g
panelmoveend = alt-gt; end ; g

panelselectsortorder=
paneltogglesortorderprev=
paneltogglesortordernext=
panelreversesort=
panelsortorderbyname=
panelsortorderbyext=
panelsortorderbysize=
panelsortorderbymtime=




[input]
inputbol = ctrl-a; alt-lt; home
inputeol = ctrl-e; alt-gt; end
inputmoveleft = left; alt-left
inputwordleft = ctrl-left
inputbackwardchar = ctrl-b
inputbackwardword = alt-b
inputmoveright = right; alt-right
inputwordright = ctrl-right
inputforwardchar = ctrl-f
inputforwardword = alt-f
panelsmartprevpage = backspace

inputdeletechar = delete
inputkillword = alt-d
inputbackwardkillword = alt-backspace
inputsetmark =
inputkillregion = ctrl-w
inputxstore = alt-w
inputxpaste =
inputyank = ctrl-y
inputkillline = ctrl-k
inputhistoryprev = alt-p; ctrl-down
inputhistorynext = alt-n; ctrl-up
inputhistoryshow = alt-h
inputcomplete = alt-tab
inputclearline =

[tree]
treehelp = f1
treeforget = f3
treetogglenav = f4
treecopy = f5
treemove = f6
treemoveup = up; ctrl-p
treemovedown = down; ctrl-n
treemoveleft = left
treemoveright = right
treemovehome = home; alt-lt
treemoveend = end; alt-gt
treemovepgup = pgup; alt-v
treemovepgdn = pgdn; ctrl-v
treeopen = enter
treerescan = f2; ctrl-r
treestartsearch = ctrl-s; alt-s
treeremove = f8; delete

[help]
helphelp = f1
helpindex = f2; c
helpback = f3; left; l
helpquit = f10; esc; ctrl-g
helpmoveup = up
helpmovedown = down
helpselectlink = right; enter
helpnextlink = tab
helpprevlink = alt-tab
helpnextnode = n
helpprevnode = p
Solution is to make localrename which is kinda ok ... well, there are not so much
options since what ever you ask them as wishlist, they wont / dont do it.

into $HOME/.mc/mc.keymap

Last edited by Xeratul; 02-23-2013 at 11:53 AM.
 
  


Reply



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
[SOLVED] midnight commander: open the current file? Xeratul Linux - Software 4 02-17-2013 11:08 AM
midnight commander file rename ques stabu Linux - Software 10 02-01-2013 09:57 PM
Configuring mc (midnight commander) for file editing sanjay.krk Linux - Newbie 9 09-18-2008 05:35 AM
midnight commander segfaults when trying to rename / move adam_w Linux - Software 3 08-28-2007 08:56 AM
how to change midnight commander file associations? Sammael Linux - Software 2 05-05-2007 10:22 AM

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

All times are GMT -5. The time now is 09:18 AM.

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