diff options
author | David Walter Seikel | 2014-01-29 23:45:28 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-01-29 23:45:28 +1000 |
commit | 0e1a2a58349d210297532b3528b8071ca1bf306f (patch) | |
tree | ac69e0a0259be7b1f6fa15e5a93aa0bbd87f0db8 | |
parent | Clean up some comments. (diff) | |
download | boxes-0e1a2a58349d210297532b3528b8071ca1bf306f.zip boxes-0e1a2a58349d210297532b3528b8071ca1bf306f.tar.gz boxes-0e1a2a58349d210297532b3528b8071ca1bf306f.tar.bz2 boxes-0e1a2a58349d210297532b3528b8071ca1bf306f.tar.xz |
Change the made up MC windows and command line keys. Now more MC like.
-rw-r--r-- | boxes.c | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -2501,16 +2501,12 @@ struct keyCommand simpleMceditKeys[] = | |||
2501 | {"PgUp", "upPage"}, | 2501 | {"PgUp", "upPage"}, |
2502 | {"Return", "splitLine"}, | 2502 | {"Return", "splitLine"}, |
2503 | {"Right", "rightChar"}, | 2503 | {"Right", "rightChar"}, |
2504 | {"Shift F2", "switchMode"}, // MC doesn't have a command mode. | 2504 | {"Shift F2", "switchMode"}, // MC doesn't have a command mode. |
2505 | {"F3", "switchMode"}, // Coz tmux is screwing with the shift function keys somehow. | 2505 | {"^[:", "switchMode"}, // Sorta vi like, and coz tmux is screwing with the shift function keys somehow. |
2506 | {"^[x", "switchMode"}, // Emacs like. | 2506 | {"^[|", "splitV"}, // MC doesn't have a split window concept, so make these up to match tmux more or less. |
2507 | {"^[:", "switchMode"}, // Sorta vi like. | 2507 | {"^[-", "splitH"}, |
2508 | {"^Q|", "splitV"}, // MC doesn't have a split window concept, so make these up to match tmux more or less. | 2508 | {"^[o", "switchBoxes"}, |
2509 | {"^Q-", "splitH"}, | 2509 | {"^[x", "deleteBox"}, |
2510 | {"^Qo", "switchBoxes"}, | ||
2511 | {"^Q^O", "switchBoxes"}, | ||
2512 | {"^Qx", "deleteBox"}, | ||
2513 | {"^Q^X", "deleteBox"}, | ||
2514 | {"Up", "upLine"}, | 2510 | {"Up", "upLine"}, |
2515 | {NULL, NULL} | 2511 | {NULL, NULL} |
2516 | }; | 2512 | }; |