You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

88 lines
2.1 KiB

# [KeyTab] Konsole Keyboard Table
keyboard "default"
# --------------------------------------------------------------
#
# This configuration table allows to customize the
# meaning of the keys.
#
# The syntax of each entry has the form
#
# "key" Keyname { ("+"|"-") Modename } ":" (String|Operation)
#
# Keynames are those defined in <qnamespace.h> with the
# "Qt::Key_" removed. (We'd better insert the list here)
#
# Mode names are: Shift, Alt, Control.
#
# If the key is not found here, the text of the
# key event as provided by QT is emitted, possibly
# preceeded by ESC if the Alt key is pressed.
#
# --------------------------------------------------------------
#
# Note that this table is a "risc" version made to ease
# customization without bothering with obsolete details.
# See VT100.keytab for more hairy stuff.
#
# --------------------------------------------------------------
key Escape : "\E"
key Tab : "\t"
key Enter : "\r" # Keypad-Enter.
key Return-Alt : "\r"
key Return+Alt : "\E\r"
# Backspace and Delete codes are preserving CTRL-H.
key Backspace : "\x7f"
key Delete : "\E[3~"
# function keys
key F1 : "\E[11~"
key F2 : "\E[12~"
key F3 : "\E[13~"
key F4 : "\E[14~"
key F5 : "\E[15~"
key F6 : "\E[17~"
key F7 : "\E[18~"
key F8 : "\E[19~"
key F9 : "\E[20~"
key F10 : "\E[21~"
key F11 : "\E[23~"
key F12 : "\E[24~"
key Up -Shift : "\EOA"
key Down -Shift : "\EOB"
key Right : "\EOC"
key Left : "\EOD"
key Home : "\E[1~"
key End : "\E[4~"
key Prior -Shift : "\E[5~"
key Next -Shift : "\E[6~"
key Insert-Shift : "\E[2~"
# Work around dead keys
key Space +Control : "\x00"
# Some keys are used by konsole to cause operations.
key Up +Shift : scrollLineUp
key Prior +Shift : scrollPageUp
key Down +Shift : scrollLineDown
key Next +Shift : scrollPageDown
key Insert+Shift : emitSelection
#----------------------------------------------------------
# keypad characters as offered by Qt
# cannot be recognized as such.
#----------------------------------------------------------
#
# Following other strings as emitted by konsole.