diff inputrc @ 6:2ae8e6222b9d

Added inputrc.
author Edho Prima Arief <me@myconan.net>
date Mon, 19 Jul 2010 16:47:48 +0700
parents
children 81d132d8c757
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inputrc	Mon Jul 19 16:47:48 2010 +0700
@@ -0,0 +1,30 @@
+#Basic settings
+set bell-style none
+set keymap emacs
+
+#Home/End
+#GNOME Terminal
+"\eOH": beginning-of-line
+"\eOF": end-of-line
+#tmux
+"\e[1~": beginning-of-line
+"\e[4~": end-of-line
+
+#Delete
+"\e[3~": delete-char
+
+#Alt-Left/Right
+#GNOME Terminal
+"\e[1;3D": backward-word
+"\e[1;3C": forward-word
+#tmux
+"\e\e[D": backward-word
+"\e\e[C": forward-word
+
+#Up/Down
+"\e[A": history-search-backward
+"\e[B": history-search-forward
+
+#Misc
+"\C-w": backward-kill-word
+