changeset 6:2ae8e6222b9d

Added inputrc.
author Edho Prima Arief <me@myconan.net>
date Mon, 19 Jul 2010 16:47:48 +0700
parents de6ce93d40fc
children 2e5cc49001ae
files inputrc setup
diffstat 2 files changed, 31 insertions(+), 0 deletions(-) [+]
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
+
--- a/setup	Sat Jul 17 02:32:30 2010 +0700
+++ b/setup	Mon Jul 19 16:47:48 2010 +0700
@@ -7,6 +7,7 @@
   linker "tmux" ".tmux.conf"
   linker "hg" ".hgrc"
   linker "vim" ".vimrc"
+  linker "inputrc" ".inputrc"
   linker "bin" "bin-ec"
 
   #modify cshrc