Constbackward_Behaves like readline's backward_char. Moves the caret one character to the left.
Optionalarg: anyConstbackward_Behaves like readline's backward_kill_line, i.e. deletes every character to the left of the caret until either the beginning of the text is found or a newline character ("\n") is reached.
Optionalarg: anyConstbackward_Behaves like readline's backward_kill_word. Deletes every character from the caret to the beginning of a word with word being defined by the wordpattern setting.
Optionalarg: anyConstbackward_Behaves like readline's backward_word. Moves the caret one word to the left, with words being defined by the wordpattern setting.
Optionalarg: anyConstbeginning_Behaves like readline's beginning_of_line. Moves the caret to the right of the first newline character found at the left of the caret. If no newline can be found, move the caret to the beginning of the text.
Optionalarg: anyConstcapitalize_Behaves like readline's capitalize_word. Makes the initial character of the word the caret is in uppercase.
Optionalarg: anyConstdelete_Behaves like readline's delete_backward_char, i.e. deletes the character to the left of the caret.
Optionalarg: anyConstdelete_Behaves like readline's delete_char, i.e. deletes the character to the right of the caret.
Optionalarg: anyConstdowncase_Behaves like readline's downcase_word. Makes the word the caret is in lowercase.
Optionalarg: anyConstend_Behaves like readline's end_of_line. Moves the caret to the left of the first newline character found at the right of the caret. If no newline can be found, move the caret to the end of the text.
Optionalarg: anyConstforward_Behaves like readline's forward_char. Moves the caret one character to the right.
Optionalarg: anyConstforward_Behaves like readline's forward_word. Moves the caret one word to the right, with words being defined by the wordpattern setting.
Optionalarg: anyConstinsert_Insert text in the current input.
Optionalarg: anyConstjumbleOptionalarg: anyConstkill_Behaves like readline's kill_line, i.e. deletes every character to the right of the caret until reaching either the end of the text or the newline character (\n).
Optionalarg: anyConstkill_Behaves like readline's kill_whole_line. Deletes every character between the two newlines the caret is in. If a newline can't be found on the left of the caret, everything is deleted until the beginning of the text is reached. If a newline can't be found on the right, everything is deleted until the end of the text is found.
Optionalarg: anyConstkill_Behaves like readline's kill_word. Deletes every character from the caret to the end of a word, with words being defined by the wordpattern setting.
Optionalarg: anyConstnext_Optionalarg: anyConstprevious_Optionalarg: anyConstrot13Optionalarg: anyConsttab_Behaves like readline's tab_insert, i.e. inserts a tab character to the left of the caret.
Optionalarg: anyConsttranspose_Behaves like readline's transpose_chars, i.e. transposes the character to the left of the caret with the character to the right of the caret and then moves the caret one character to the right. If there are no characters to the right or to the left of the caret, uses the two characters the closest to the caret.
Optionalarg: anyConsttranspose_Behaves like readline's transpose_words. Basically equivalent to im_transpose_chars, but using words as defined by the wordpattern setting.
Optionalarg: anyConstupcase_Behaves like readline's upcase_word. Makes the word the caret is in uppercase.
Optionalarg: any
Editor Functions
This file contains functions to manipulate the content of textareas/input fields/contenteditable elements.
If you want to bind them to keyboard shortcuts, be sure to prefix them with "text.". For example, if you want to bind control-a to
beginning_of_linein all modes, use:Also keep in mind that if you want to bind something in insert mode, you'll probably also want to bind it in input mode (insert mode is entered by clicking on text areas while input mode is entered by using
gi).If you're looking for command-line only functions, go there.
Contrary to the main tridactyl help page, this one doesn't tell you whether a specific function is bound to something. For now, you'll have to make do with with
:bindand:viewconfig.