Go to the first, previous, next, last section, table of contents.


Editing Buffers

The majority of keys when typed will simply insert themselves into the buffer (this is not always true but it's a good assumption) since they have not been bound. Typically this includes all normal characters (i.e. alphanumeric, punctuation, etc) as well as any of the more obtuse key-sequences which have not been bound to a function (Ctrl-l is one of the more useful of these).

The behaviour of the TAB key is different to many other editors -- it doesn't insert anything (unless a specific editing mode has bound it to something else, like c-mode for example), generally it just moves the cursor to the next tab stop. This is partly because Jade doesn't use "proper" tabs and partly because it makes it easier to move around a line (because the key sequence Shift-TAB moves to the previous tab stop).

Some miscellaneous editing commands follow.

RET
This generally splits the line into two at the position of the cursor, some editing modes may provide an option which automatically indents the line after it's split.
Backspace
Deletes the character before the cursor.
DEL
Ctrl-d
Deletes the character under the cursor.
Shift-Backspace
Kills the characters between the start of the line and the cursor. See section Killing.
Shift-DEL
Kills the characters from the cursor to the end of the line.
Ctrl-DEL
Kills the whole line.
Ctrl-o
Splits the line in two at the cursor, but leaves the cursor in its original position.
Meta-d
Meta-DEL
Kills from the cursor to the end of the current word.
Ctrl-k
Kills from the cursor to the end of the line, or if the cursor is at the end of the line from the cursor to the start of the next line. Each successive Ctrl-k appends to the text in the kill buffer.
Meta-l
Makes the characters from the cursor to the end of the word lower case.
Meta-u
Upper cases the characters from the cursor to the end of the word.
Meta-c
Capitalises the characters from the cursor to the end of the word, this means make the first character upper case and the rest lower.
Meta-Backspace
Kills from the cursor to the beginning of the word.


Go to the first, previous, next, last section, table of contents.