linux - .inputrc override Control+W -


How can I override the control + W inside my .inputrc? The following does not work on its own:

  "cw": Forwarded word  

it does works I add the stty werase undef , but then the key 'is mysteriously disabled!

To bind you as ^ w your < In the code> .inputrc file, the option is required to use the set bind -TTI-special-character close . The reason for this is that: Starting with version 5.0,

readline, Stati reads special character settings and binds them to their readline equivalent, every time readline () / P>

was introduced in the Bin-TTI-Special-Character option 5.1 to work around this feature . - Search for the option

  set bind-tty-special characters off "\ Cw": Forwarded-word  

contains a slightly old-school method Like .bashrc :

  delete stty undef bind '"\ cw": Forwarded word'  

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -