Ticket #1724 (forgotten hotkeys)

* fixed binding in mc.keymap.default and mc.keymap.emacs
    for CmdCopyCurrentTagged, CmdCopyOtherTagged,
    CmdCopyCurrentPathname, CmdCopyOtherPathname
    * fixed typo

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
This commit is contained in:
Ilia Maslakov 2009-10-28 16:15:33 +00:00
parent c0575fff3f
commit 91c7dbb71c
5 changed files with 13 additions and 4 deletions

View File

@ -228,6 +228,10 @@ CmdMenuQuickView = q
CmdExternalPanelize = exclamation
CmdReselectVfs = a
CmdJobs = j
CmdCopyCurrentPathname = p
CmdCopyOtherPathname = ctrl-p
CmdCopyCurrentTagged = t
CmdCopyOtherTagged = ctrl-t
[panel]
PanelStartSearch = ctrl-s; alt-s

View File

@ -232,6 +232,10 @@ CmdMenuQuickView = q
CmdExternalPanelize = exclamation
CmdReselectVfs = a
CmdJobs = j
CmdCopyCurrentPathname = p
CmdCopyOtherPathname = ctrl-p
CmdCopyCurrentTagged = t
CmdCopyOtherTagged = ctrl-t
[panel]
PanelStartSearch = ctrl-s; alt-s

View File

@ -261,7 +261,7 @@
#define CK_CopyCurrentTagged 7012
#define CK_CopyOtherPathname 7013
#define CK_CopyOtherReadlink 7014
#define CK_CopyOtherTarget 7015
#define CK_CopyOtherTagged 7015
#define CK_DeleteCmd 7016
#define CK_DirsizesCmd 7017
#define CK_DisplayBitsBox 7018

View File

@ -315,7 +315,8 @@ static const name_keymap_t command_names[] = {
{ "CmdCopyOtherReadlink", CK_CopyOtherReadlink },
{ "CmdAddHotlist", CK_AddHotlist },
{ "CmdQuit", CK_QuitCmd },
{ "CmdCopyOtherTarget", CK_CopyOtherTarget },
{ "CmdCopyCurrentTagged", CK_CopyCurrentTagged },
{ "CmdCopyOtherTagged", CK_CopyOtherTagged },
{ "CmdToggleShowHidden", CK_ToggleShowHidden },
/* panel */
@ -700,7 +701,7 @@ const global_keymap_t default_main_x_map[] = {
{ 'p', CK_CopyCurrentPathname, "p" },
{ XCTRL ('p'), CK_CopyOtherPathname, "C-p" },
{ 't', CK_CopyCurrentTagged, "t" },
{ XCTRL ('t'), CK_CopyOtherTarget, "C-t" },
{ XCTRL ('t'), CK_CopyOtherTagged, "C-t" },
{ 'c', CK_ChmodCmd, "c" },
{ 'o', CK_ChownCmd, "o" },
{ 'r', CK_CopyCurrentReadlink, "r" },

View File

@ -1175,7 +1175,7 @@ midnight_execute_cmd (int command)
case CK_CopyOtherReadlink:
copy_other_readlink ();
break;
case CK_CopyOtherTarget:
case CK_CopyOtherTagged:
copy_other_tagged ();
break;
case CK_DeleteCmd: