HTML Keyboard configurations for Vedit text editor
--------------------------------------------------
This document lists the differences between html.key (the original html keyboard
configuration) and my keyboard configuration files html1.key and html2.key.
Html1.key is closer to the original html.key. Most of the changes just replace
the inline code in keyboard file with calls to html.mnu with the same function.
(This way, you can see the keyboard shortcut in the menu.) In addition, there
are some new functions implemented to previously unused keys.
Html2.key has some other key changes, too. Some of the existing key definitions
have been changed. (Mostly, these were reduntant keys, and there is another key
for the same function available.)
HTML specific keys with differences:
key html.key html1.key html2.key description
-----------------------------------------------------------------------------------------
F12 [MENU]TM [MENU]TM Matching tag
Alt-F12 [MENU]TG [MENU]TG Goto anchor (point and shoot select)
Alt-Del [MENU]TD [MENU]TD Delete tag or pair of tags
Ctrl-Del [DEL NEXT WORD] [MENU]TX [MENU]TX Delete text between tags or quotes
Shft-F6 ** [MENU]TR [MENU]TR table row
Shft-F7 ** [MENU]TC [MENU]TC table cell
Shft-F10 *** [MENU]TT [MENU]TT Table...
Alt-P [MENU]TP [MENU]TP paragraph
Alt-. -inline- (see below) (see below) paragraph
Alt-. (see above) [MENU]TB [MENU]TB Line break
Alt-- ** [MENU]TI [MENU]TI IMG SRC...
Alt-= *** [MENU]TH [MENU]TH HREF (link)
Alt-\ ** [MENU]TA [MENU]TA Anchor
Alt-. ** [MENU]TB [MENU]TB line Break
Alt-' -inline- -inline- html comment
Alt-7 -inline- -inline- (see below)
Alt-9 -inline- -inline- (see below)
-----------------------------------------------------------------------------------------
Other keys
key html.key html1.key html2.key description
-----------------------------------------------------------------------------------------
Alt-Enter [MENU]HD [MENU]HD (see below) Status display
Shft-Del [MENU]ET [MENU]ET (see below) Cut to clipboard
Ctrl-Ins [MENU]EC [MENU]EC (see below) Copy to clipboard
Shft-Ins [MENU]EP [MENU]EP (see below) Paste clipboard
F11 [T-REG INSERT] [T-REG INSERT] (see below) Insert text register
Numpad* [T-REG INSERT] [T-REG INSERT] (see below) Insert text register
Numpad.Enter [RETURN] [RETURN] (see below) Insert newline
Numpad+ [T-REG COPY] [T-REG COPY] (see below) Copy to text register
Numpad- [T-REG MOVE] [T-REG MOVE] (see below) Move to text register
-----------------------------------------------------------------------------------------
Ctrl-S [MENU]HD Status display
Alt-Enter (see above) (see above) [MENU]EUR Redo
Shft-Del (see above) (see above) [MENU]EST Cut to scratchpad
Ctrl-Ins (see above) (see above) [MENU]ESC Copy to scratchpad
Shft-Ins (see above) (see above) [MENU]ESP Paste scratchpad
Alt-F3 [MENU]GM Matching parenthesis
F11 (see above) (see above) [MENU]UB Bookmarks
Numpad* (see above) (see above) -inline- Text registers...
Numpad.Enter (see above) (see above) -inline- Go to EOL and insert newline
Numpad+ (see above) (see above) -inline- search block forward
Numpad- (see above) (see above) -inline- search block backwards
Alt-7 (see above) (see above) -inline- { }
Alt-9 (see above) (see above) -inline- Go to mathihg brace
-----------------------------------------------------------------------------------------
** = These functions are inline code in html.key but
replaced with calls to html.mnu in html1.key and html2.key.
The function is the same.
*** = Inline code in html.key, the same function with enhancements
in html1.key and html2.key.
-inline- = inline command in html1.key / html2.key
(empty space) = this key sequence is not defined in html.key
The following HTML specific keys have not changed:
key html.key html1.key html2.key description
-----------------------------------------------------------------------------------------
Alt-1 -inline- -inline- -inline- Level 1 heading
Alt-2 -inline- -inline- -inline- Level 2 heading
Alt-3 -inline- -inline- -inline- Level 3 heading
Alt-4 -inline- -inline- -inline- Level 4 heading
Alt-5 -inline- -inline- -inline- Level 5 heading
Alt-6 -inline- -inline- -inline- Level 6 heading
Alt-8 -inline- -inline- -inline-
Alt-0 -inline- -inline- -inline-
Shft-F3 -inline- -inline- -inline- List item
Shft-F4 -inline- -inline- -inline- Emphasis
Shft-F8 -inline- -inline- -inline- Table Header |
Shft-F11 -inline- -inline- -inline- Table Caption
Shft-F12 -inline- -inline- -inline- Frameset
Alt-F6 -inline- -inline- -inline- Bold text
Alt-F7 -inline- -inline- -inline- Italics
Ctrl-D -inline- -inline- -inline-
Ctrl-H -inline- -inline- -inline- Horizontal Ruler
Ctrl-M -inline- -inline- -inline- Line break
Ctrl-Q -inline- -inline- -inline-
-----------------------------------------------------------------------------------------
DETAILED DESCRIPTION:
F12 Matching tag
- Put cursor on a HTML tag and press this key. Cursor moves to
matching tag (opening <-> closing tag).
Alt-F12 Goto anchor
- Calls macro HTML_a.vdm.
- Opens a window that lists all target anchor tags .
Use up/down keys to select an anchor, then Enter to go to that
position or Esc to cancel.
Alt-Del Delete tag
- Deletes a tag at cursor location, and matching closing/opening tag.
Ctrl-Del Delete text
- Deletes text between tags or inside double quotes.
Quotes or <> characters are searched to the left and right of cursor
and all text between them is deleted. Handy e.g. for deleting
URL in tag before inserting new one and for deleting
link text or any text delimited by tags.
Shft-F10 Table...
- Calls macro HTML_tbl.vdm.
- If no block selected, inserts tag pair.
- If block selected, converts text (with specified column separator)
into HTML table.
Alt-- Insert image
- Calls macro HTML_IMG.vdm.
- Opens file open dialog box for inserting an image.
Alt-= Insert link
- Calls macro HREF.vdm
- Opens dialog box for inserting link.
Alt-' HTML comment
- Inserts tag and leaves cursor in the middle ready for
typing the comment text.
Numpad+ search block forward
- If block is selected, searches for the selected text (forward).
- If no block selected, repeats previous search forward.
Numpad- search block backward
- If block is selected, searches for the selected text (backward).
- If no block selected, repeats previous search backward.