/* last edited March 29, 1985, 18:53:03 */

KEY_RIGHT(1)	FILTER
insert_brackets \\fI \\fP
/*
 * insert_brackets inserts the indicated characters around the selected text.
 * If the text is already bracketed with these characters, it removes them.
 * At some point in the future, the remove option will be invoked by holding
 * down SHIFT key while hitting function key. 
 */

KEY_RIGHT(2)	FILTER
insert_brackets \\fB \\fP

KEY_RIGHT(3)	FILTER
insert_brackets \\fL \\fP

KEY_RIGHT(4)	FILTER
capitalize  
/*
 * capitalize/uncapitalize selected material as follows: If there are no
 * lower case characters, convert everything to lower case.
 * Example: EDIT TOOL => edit tool. 
 * If there are any lower case letters, convert everything to uppercase.
 * Example: adjust_pending_delete => ADJUST_PENDING_DELETE 
 *
 * If characters consist of several words separated by whitespace, then for each
 * word, capitalize the first letter it if it isn't, lower case if it is.
 * Example: now is the time => Now Is The Time, and vice versa. 
 */

KEY_RIGHT(5)	FILTER
insert_brackets ( )

KEY_RIGHT(6)	FILTER
insert_brackets " "

KEY_RIGHT(7)	FILTER
insert_brackets \\s-2 \\s0

KEY_RIGHT(10)	FILTER
shift_lines -t -1
/*
 * shifts selected lines left the indicated number of tab stops tab stops
 * computed the following way: if any spaces are seen on the first line tab
 * stops = 4. Otherwise, look in .indent.pro for corresponding value (you can
 * use the indent_tool to set up your .indent.pro). If no .indent.pro, assume
 * 8. Note this means that if the user has that user can specify 8 in his
 * .indent.pro, but for those files that he has explitily formatted using 4
 * space indentation this will do the right thing provided that the first
 * line given to shift_lines contains some spaces. 
 *
 */

KEY_RIGHT(12)	FILTER
shift_lines -t 1
/* shifts selected lines right the indicated number of spaces */

KEY_RIGHT(11)	FILTER
indent -st
/* invoke indent on the selected material, using the options specified in
 * .indent.pro
 */


KEY_RIGHT(13)	FILTER
whenis -nw now
/* inserts current time */

KEY_RIGHT(14)	FILTER
fmt
/* pass the selected material through fmt */


