Control keys ------------ Control key layout for basic movement functions is topographic on the left-hand side of the keyboard (an idea originating from early editors and also known as "WordStar mode"). With control keys, the important movement and editing functions are always available even in unconfigured terminal environments. HOP key ------- As a "key concept", the HOP key, used as a prefix key, amplifies the effect of screen movement commands "just as you would expect". It also works on many other commands to provide an important variation of the command. This way, a richer set of commands is available without having to remember too many keys. The HOP prefix function is triggered by any of a number of keys, some sharing this function with their own function; e.g. ^Q, ^L, ^G, ESC, the middle keypad key ("5"). (The function is similar to the ^Q prefix of ancient WordStar.) Keypad assignment ----------------- The two cursor block keypads of typical keyboards are assigned the most important movement and copy/paste functions as follows: +------+------+------+ +------+------+------+ | Ins | Home | PgUp | |7 Home|8 ^ |9 PgUp| |Paste |LinBeg| | | Mark | | | | +------+------+------+ +------+------+------+ | Del | End | PgDn | |4 <- |5 |6 -> | |Delete|LinEnd| | | | HOP | | +------+------+------+ +------+------+------+ |1 End |2 | |3 PgDn| | Copy | v | | +------+------+------+ |0 Ins |. Del | | Paste | Cut | +------+------+------+ If the keyboard is properly configured (see mined manual for details), the major keys work as follows: Right keypad: Home sets a mark for the text region to be selected. End performs a Copy to the paste buffer. Delete performs a Cut to the paste buffer. Small keypad: Home moves the cursor to the beginning of the current line. End moves the cursor to the end of the current line. Delete deletes the next character only in some environment configurations. Alternate key assignments: The Alt key modifies the Delete, Home and End keys to perform the respective other function than the plain key. The command line option -k reverses the above mentioned key function assignments of the "Home", "End", and "Delete" keys of the two keypads, including the Alt reversals. Both keypads: Shift-Home sets a mark for the text region to be selected. Shift-End performs a Copy to the paste buffer. Shift-Delete performs a Cut to the paste buffer. Control-Home moves the cursor to the beginning of the current line. Control-End moves the cursor to the end of the current line. Control-Delete deletes the next character. Insert pastes the contents of the buffer to the current cursor position. HOP-Insert pastes the most recent paste buffer from any instance of mined. These key function assignments are not affected by the -k option. The HOP prefix modifies the keypad functions as follows: HOP-Cursor Up/Down moves to top/bottom of screen. HOP-Cursor Left/Right moves to beginning/end of line. HOP-Page Up/Down moves to beginning/end of edited text. HOP-Home moves the cursor to the marked position. HOP-End appends to the buffer. HOP-Delete cuts and appends to the buffer. HOP-Insert pastes the inter-session buffer. The inter-session buffer always contains the last copied buffer by any instance of mined and remains available after mined exits; so you can quickly copy and paste text between two different editing sessions running mined. See the mined manual for further configuration hints. Note on keypad standard assignments (Del key, Home/End keys) ----------------------------------- Many people expect the "Home" and "End" keys to move the cursor to the beginning or end of line, respectively, and the "Del" key to delete the next character. In the keyboard usage approach of mined, this is a waste of keyboard resources as these functions can easily and quite intuitively be invoked with "HOP left" and "HOP right", i.e. by pressing the keypad keys "5 4" or "5 6" in sequence, and all these keys are available twice on typical keyboards. So there is enough room left for mapping the most frequent paste-buffer functions to the keypad as described above which is considered much more useful. Use Alt-Delete to delete the next character (unless using the -k option). Input methods (Keyboard mapping) -------------------------------- In UTF-8 or CJK text encoding, the keyboard can be mapped to support various scripts from a generic keyboard, including East Asian input methods. Select a script from the keyboard mapping menu (right-click on the "--" indication in the flags area, or ESC K / Alt-K / Control-F12). Input characters or short sequences of input characters will then be transformed according to the selected keyboard mapping table. Some mapping tables contain ambiguous prefixes of mapped sequences; in order to support this, a small delay may occur until a mapping is applied. In some mapping tables, certain mappings yield multi-character sequences. Also, certain ambiguous mappings exist that yield a multiple choice; it is presented in a selection menu (also known as "pick list") from which the desired character can be chosen by mouse click or with cursor keys (up / down or space / in the row, select character by entering its index 1-9 or 0).