Ticket #1401 (closed enhancement: fixed)
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: | committed-master |
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
comment:1 Changed 15 years ago by angel_il
- Status changed from new to accepted
- Owner set to angel_il
- severity changed from no branch to on review
- Milestone changed from 4.7 to 4.7.0-pre1
comment:3 Changed 15 years ago by iNode
- Type changed from defect to enhancement
- Description modified (diff)
comment:5 Changed 15 years ago by andrew_b
- Votes for changeset changed from slavazanko to slavazanko andrew_b
- severity changed from on review to approved
comment:6 Changed 15 years ago by angel_il
- Votes for changeset changed from slavazanko andrew_b to commited-master
- severity changed from approved to merged
Note: See
TracTickets for help on using
tickets.
branch: 1401_mclib_extension (parent: master)
changeset: 65391ff615f757e6cecea76959c1cd559874bf0d