Mined optimizes keypad usage for most frequently used functions,
especially paste buffer functions in addition to
navigation functions, by making them easily accessible on
the keypad.
For this purpose, mined distinguished between
Home/End keys on the numeric keypad and on the small
keypad (whenever possible with the terminal) in order
to avoid the waste of resources by the usually redundant
mapping of these two keypad blocks.
The centrally placed HOP key can be used for intuitive
modification of navigation functions and for useful alternatives
of paste buffer functions.
Insert
Paste
Home
Line beg.
PgUp
PgUp
Delete
Del/Cut
End
Line end
PgDn
PgDn
7 Home
Mark
8 ↑
↑
9 PgUp
Prev
4 ←
←
5
HOP
6 →
→
1 End
Copy
2 ↓
↓
3 PgDn
Next
0 Ins
Paste
. Del
Del/Cut
with HOP:
7 Home
goto Mark
8 ↑
Screen top
9 PgUp
File beg.
4 ←
Line beg.
5
6 →
Line end
1 End
Append
2 ↓
Screen bot.
3 PgDn
File end
0 Ins
Cross-window-paste
. Del
...+Append
The Del key performs the usual dual-mode function; if a visual
selection is active, it deletes the selection (with a Cut to the
paste buffer), if there is no visual selection, it deletes the
next character.
Mined offers additional function mappings for modified
keypad keys, both for providing unambiguous mappings in any
case and to handle the deviation of its benefit-optimized
Home/End keypad mapping from frequent expectations, and an
option to customize Home/End:
Alt-Home/End are mapped to the Home/End functions
of the other keypad, respectively. So by default, on
the numeric keypad they invoke the line navigation
functions.
The -k option exchanges
Home/End functions of the small and numeric keypads
with each other, and switches Alt-Home/End to also
invoke the “other” function, respectively:
keypad function assignments:
Ctrl-Del is always mapped to character deletion,
while Shift-Del is mapped to the paste buffer Cut function,
regardless of the visual selection.
Ctrl-Home/End are always mapped to line
navigation, while Shift-Home/End are mapped to the
paste buffer functions Mark/Copy, regardless of the
-k option.
Alt-Del is mapped to the respective “other” function,
depending on visual selection.
Note: Keypad function assignments as
described depend on terminal support to distinguish
all involved keys and modifiers which is unfortunately
not always the case.
Terminal support for proper distinction of
different keypads and modified keys may be enhanced by
appropriate terminal configuration, see the manual
section on Keypad configuration.