From 0e1a2a58349d210297532b3528b8071ca1bf306f Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 29 Jan 2014 23:45:28 +1000 Subject: Change the made up MC windows and command line keys. Now more MC like. --- boxes.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'boxes.c') diff --git a/boxes.c b/boxes.c index 6f90eff..9e556c0 100644 --- a/boxes.c +++ b/boxes.c @@ -2501,16 +2501,12 @@ struct keyCommand simpleMceditKeys[] = {"PgUp", "upPage"}, {"Return", "splitLine"}, {"Right", "rightChar"}, - {"Shift F2", "switchMode"}, // MC doesn't have a command mode. -{"F3", "switchMode"}, // Coz tmux is screwing with the shift function keys somehow. - {"^[x", "switchMode"}, // Emacs like. - {"^[:", "switchMode"}, // Sorta vi like. - {"^Q|", "splitV"}, // MC doesn't have a split window concept, so make these up to match tmux more or less. - {"^Q-", "splitH"}, - {"^Qo", "switchBoxes"}, - {"^Q^O", "switchBoxes"}, - {"^Qx", "deleteBox"}, - {"^Q^X", "deleteBox"}, +{"Shift F2", "switchMode"}, // MC doesn't have a command mode. + {"^[:", "switchMode"}, // Sorta vi like, and coz tmux is screwing with the shift function keys somehow. + {"^[|", "splitV"}, // MC doesn't have a split window concept, so make these up to match tmux more or less. + {"^[-", "splitH"}, + {"^[o", "switchBoxes"}, + {"^[x", "deleteBox"}, {"Up", "upLine"}, {NULL, NULL} }; -- cgit v1.1