Move key binding as dabbrev-expand defined only in bash.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 14 Aug 2011 16:08:05 +0300
changeset 174 f862e6d84d02
parent 173 e0e31102eee5
child 175 dff101b7fff0
Move key binding as dabbrev-expand defined only in bash.
.bashrc
.inputrc
--- a/.bashrc	Sun Aug 14 00:54:20 2011 +0300
+++ b/.bashrc	Sun Aug 14 16:08:05 2011 +0300
@@ -140,6 +140,11 @@
 fi
 
 ################################################################
+# Key binding.
+
+bind '"\e/": dabbrev-expand'
+
+################################################################
 # Completion.
 
 # user commands see only users
--- a/.inputrc	Sun Aug 14 00:54:20 2011 +0300
+++ b/.inputrc	Sun Aug 14 16:08:05 2011 +0300
@@ -66,7 +66,6 @@
 "\C-@": set-mark
 "\C-w": kill-region
 "\M-w": copy-region-as-kill
-"\M-/" dabbrev-expand
 
 # Ctrl+Left/Right to move by whole words.
 "\e[1;5C": forward-word