Ticket #1401 (assigned enhancement) — at Version 3
extension key sequence for mc.lib
Reported by: | angel_il | Owned by: | angel_il |
---|---|---|---|
Priority: | major | Milestone: | 4.7.0-pre1 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description (last modified by iNode) (diff)
Capability to load keymap from system mc.lib file or user's mc ini instead of use hardcoded mc.lib.
For syntax example for define escape sequences see misc/mc.lib file in the source tree.
The way to get escape sequence is [F9]->Optioins->Learn Keys.
Define some key (i.e. "Function key 1"), save and exit.
Now we can see it in mc ini file:
grep 'f1=' ~/.mc/ini
Usage example:
alt left=\\e\\eOD alt right=\\e\\eOC alt up=\\e\\eOA alt down=\\e\\eOB ctrl left=\\e[D ctrl right=\\e[C ctrl up=\\e[A ctrl down=\\e[B
Change History
Note: See
TracTickets for help on using
tickets.
branch: 1401_mclib_extension (parent: master)
changeset: 65391ff615f757e6cecea76959c1cd559874bf0d