/*
 * KEY BINDINGS, 1993
 */

/********************* Key Bindings *********************************/
# the meta characters
bind ` meta1_character
bind ^[ meta1_character
bind ^d meta2_character
bind ^w meta3_character

# the cursor keys
bind meta1-. end_of_line
bind meta1-, beginning_of_line

# these are set automatically, but this is just in case.
bind ^? backspace
bind ^h backward_character
bind ^b self_insert
bind ^c switch_channels
bind meta1-i toggle_insert_mode
bind meta1-` type `

# erasing bindings
bind ^U erase_line
bind meta2-^w delete_next_word
bind meta2-^p delete_previous_word
bind meta2-^e erase_to_end_of_line
bind meta2-^a erase_line
bind meta2-^y yank_from_cutbuffer

# nice stuff to have
bind meta2-^j parse_command flush
bind meta1-c clear_screen
bind meta1-r refresh_screen

bind meta1-l parse_command leave *
bind meta1-i parse_command join -invite
