I am using these lines in my
"\e[5~": history-search-backward "\e[6~": history-search-forward
With these settings when I type c on the prompt and do a PageUp, bash only shows command starting with c from the history. PageDown does its inverse. I find this very much productive to me.
Without those lines in my inputrc file when I do Ctrl+Left, The cursor use to go to one word left and Ctrl+Left does its opposite. But with those setting mentioned above when I do Ctrl+Left and Ctrl+Right it prints
So how do I make Ctrl+Left & Ctrl+Right do the right stuff?