diff --git a/inputrc b/inputrc index e0d6699..4f6288c 100644 --- a/inputrc +++ b/inputrc @@ -1,6 +1,10 @@ -## arrow up +## arrow up, down for history search "\e[A":history-search-backward -## arrow down "\e[B":history-search-forward + +# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving +"\e[1;5C": forward-word +"\e[1;5D": backward-word + ## completion case-insentivive set completion-ignore-case on