Questions tagged [inputrc]

For questions pertaining to inputrc, the configuration file for the GNU Readline library. Use this tag for questions about Readline customizations or about inputrc syntax.

should be used for questions about the configuration or GNU Readline or about ~/.inputrc syntax.

~/.inputrc is the configuration file for the GNU Readline library which provides command-line editing and history searching capabilities for interactive programs with a command-line interface. See for questions and answer about Readline in general.

Further reading

External links

72 questions
6
votes
1 answer

How to map alt backspace to some command in .inputrc?

Does anyone know how to bind key combinations with Alt in inputrc? I want to map a key combination Alt+Backspace to backward-kill-word, but when I press Ctrl+V and Alt+Backspace to see what characters it represents, it shows ^[ for a brief moment…
a_girl
  • 185
  • 6
6
votes
1 answer

How do I properly source .inputrc?

I have several set commands in .inputrc. Previously I've loaded them via source .inputrc, but some programs are unhappy with set commands in .profile. What is the correct way of sourcing it?
0
votes
1 answer

inputrc not working in ubuntu 18 as it used to in 16 and below

I used to create a simple .inputrc in my users directory and add the following: "e[A": history-search-backward "e[B": history-search-forward "e[C": forward-char "e[D": backward-char reload bash exec bash -l And then be easily able to traverse the…
John
  • 235