aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/boxes.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-29 23:45:28 +1000
committerDavid Walter Seikel2014-01-29 23:45:28 +1000
commit0e1a2a58349d210297532b3528b8071ca1bf306f (patch)
treeac69e0a0259be7b1f6fa15e5a93aa0bbd87f0db8 /boxes.c
parentClean up some comments. (diff)
downloadboxes-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.
Diffstat (limited to 'boxes.c')
-rw-r--r--boxes.c16
1 files changed, 6 insertions, 10 deletions
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[] =
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};