inputrc: add bindings for puttycyg

This commit is contained in:
Josh Holtrop 2011-05-24 15:01:52 -04:00
parent bc438ea5ca
commit 68745c1a4a

View File

@ -9,12 +9,14 @@ $include /etc/inputrc
# F1 -> clear screen
"\eOP": "clear\n"
"\e[11~": "clear\n"
# F2 -> take a quick note
"\eOQ": "cat >/dev/null\n"
"\e[12~": "cat > /dev/null\n"
# F4 -> c++ source file extensions
"\eOS": "{h,cc}"
"\e[14~": "{h,cc}"
# Fragment from Ubuntus default inputrc:
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
@ -22,6 +24,8 @@ $include /etc/inputrc
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
"\eOC": forward-word
"\eOD": backward-word
$if term=rxvt
"\e[8~": end-of-line